Questions tagged [odoo-14]

Use this tag for version specific questions about Odoo 14 - the suite of open-source business applications written in Python. When using this tag also include the more generic [odoo] tag where possible.

591 questions
0
votes
1 answer

Problem table HTML/CSS - Odoo 14 qweb report

I'm having problems with nested table. This is the only solution that i found to have this configuration. But there are some little problems. This is the code:
oigna
  • 121
  • 7
0
votes
1 answer

Odoo version 14 : active POS session read the orders made and payment lines

I am trying to read the total amount of cash payments made in a POS session in Odoo 14 : Could someone point me into the right direction: i have following code: get totalCash() { // Get order list const orders =…
Stephane
  • 29
  • 1
  • 6
0
votes
0 answers

Odoo14 Error : ValueError("Expected singleton: %s" % self)

I have a problem with my odoo14 system, so the problem is when I try to download more than 1 file in my system , it always display error message ValueError("Expected singleton: %s" % self) ValueError: : "Expected singleton:…
it uw
  • 1
0
votes
1 answer

Odoo Server Error : ParseError: while parsing near

please help me with this error in odoo 14. i have custome module in odoo 14, and i want to install the module but when i try to install it i got this error message like this, i have try so many solutions but still doesn't work. any solutions which…
it uw
  • 1
0
votes
1 answer

How to create a Many2Many field of invoice in Odoo 14 CE?

I'm using Odoo 14, I added in my project.task: facture = fields.Many2many('account.move', string='Situation', domain = [('move_type', 'in', ('out_invoice', 'out_refund'))]) So, that every task could have one or multiple invoice (the invoice could…
0
votes
1 answer

ValueError: Expected singleton: hr.appraisal.goal.kr(123, 124)

File "C:\Users\fadillah\Documents\server\odoo-16.0\odoo\models.py", line 5125, in ensure_one raise ValueError("Expected singleton: %s" % self) ValueError: Expected singleton: hr.appraisal.goal.kr(123, 124) def write(self, vals): result =…
Fadil
  • 1
  • 1
0
votes
0 answers

Is there a way to display data in graph view when using group_operator=False?

I would like to display field data in graph view even when field has set group_operator=False. Even if no group_by is used in view I still get no data in graph view. Is there any way to achieve it? (custom report model, read_group or…
xixo222
  • 157
  • 2
  • 9
0
votes
0 answers

Odoo How to create line graph with time series data?

I would like to display time series data with Odoo graph view. The graph should look something like this (some example graph i found on the internet): Graph X-axis should be date field sorted ASC Graph Y-axis should be selectable field (price or…
xixo222
  • 157
  • 2
  • 9
0
votes
0 answers

raise CacheMiss(record, field) odoo.exceptions.CacheMiss: 'ir.attachment(24,).raw

raise CacheMiss(record, field) odoo.exceptions.CacheMiss: 'ir.attachment(24,).raw' During handling of the above exception, another exception occurred: Traceback (most recent call last): File…
0
votes
2 answers

Error when trying to add a filter to a view

I'm working on an Odoo 14 module but I ran into a problem when trying to add a filter to a view that allows viewing records for today. Here is the error i get `Error: Control panel model extension failed to evaluate domain:/n{}` Here is my…
0
votes
1 answer

How to change the number of auto suggested record limit of Many2One field?

There is a field product_id in sale.order.line model that is a Many2One field. There are a ton of product data inside the database. Right now, when a user fills in some characters, it will suggest some records filtered by the given characters.…
holydragon
  • 6,158
  • 6
  • 39
  • 62
0
votes
1 answer

How can i use a field from 3th model for Domain?

Lets Create a Demo for question ! class Characters(models.Model): _name = "santex.characters" ​licensor_brand = fields.Many2one("santex.licensor_brands", ​domain="????????????????") # todo class LicensorBrands(models.Model): …
0
votes
0 answers

Add filter on date field by getting two dates like custom

i want to add filter on date field like when we click Add Custom Filter and select filed and between operator and from and to dates. Get dates on runtime not like fixed condition.
0
votes
0 answers

How I could fix in Odoo 14 the TypeError: _action_done() got an unexpected keyword argument 'cancel_backorder'

Can someone help me? In Odoo14, I am trying to 'mark as done' a manufacturing order (MO) that is in 'to close' status with all component quantities fully available and reserved. When I click the 'Mark as done' button, it informs me of the following…
0
votes
2 answers

Inherit/extend the class in odoo

I have a class that extends the other class by providing the _inherit=[helpdesk.team] in odoo. It did not have _name attribute in this class. This class has a method that adds stuff to the parent helpdesk.team. Now, I want to add some more stuff…
ASD
  • 25
  • 6