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
2
votes
2 answers

ValueError: Compute method failed to assign (Python3 odoo)

There are three compute functions in my code. But I got the error. Odoo Server Error Traceback (most recent call last): File "/vagrant/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File…
XUN
  • 55
  • 1
  • 9
2
votes
1 answer

Report header is overlapsing table from page content

I've been ask to develop a custom report for purchase orders in Odoo 14. The header of this report has to be in all pages. In the first page the table is displayed in good position, but on second page, the header is over the table headers. Look at…
southernegro
  • 384
  • 4
  • 20
2
votes
2 answers

How to make invisible Field Odoo 14

In register payment wizard , I added 2 fields. I want to make fields invisibles according to 'move_type' if move_type == 'in_invoice' --> field1 : invisible if move_type == 'out_invoice' --> field2 : invisible
K.ju
  • 541
  • 5
  • 20
2
votes
1 answer

Retrieving model fields via Odoo XML-RPC API and false

I successfully retrieved models from "ir.models" and their fields "ir.model.fields" as documented using a Java XML-RPC client. However, the store field of a model fields confuses me. It is often false, e.g. for fields of model res.users like phone,…
Steffen Harbich
  • 2,639
  • 2
  • 37
  • 71
2
votes
1 answer

While creating user in Odoo getting operation cannot be completed

Thank you in advance for your help. I am getting the below error while creating a user in Odoo, initially, it was working fine but suddenly it started showing this error: The operation cannot be completed: another model requires the record being…
Dr. Rajesh Rolen
  • 14,029
  • 41
  • 106
  • 178
2
votes
1 answer

longpolling/poll 502 bad gateway odoo 14

I am on Odoo 14 too, I've tried this config in nginx and Odoo but not work, the requests to longpolling/ don't work, always I get 502 bad gateway, I reviewed some post related but don't work. Is there an error in the configuration files? My files…
2
votes
2 answers

psycopg2.ProgrammingError: can't adapt type 'NewId' in odoo 14

Getting above error creating new record in one2many field. code is below: def _compute_timesheet_hour(self): for val in self: self._cr.execute('''SELECT project_id, employee_id, SUM(unit_amount) FROM account_analytic_line where…
Pawan Kumar Sharma
  • 1,168
  • 8
  • 30
2
votes
0 answers

menus and menuitems now show in odoo 14

I just recently migrated to odoo 14. here I am facing an issue with menus. I have added a menu with menu items but it does not show. here is my simple code for xml.
kryptonian
  • 97
  • 1
  • 12
1
vote
2 answers

How to get the Picking order from Packing order in 3 step delivery?

Odoo 14 Community Edition I have set the configuration as Pick > Pack > Ship. The Picking is done. Now I am in Packing, but I would like to get the stock_picking object of the Picking, which is the object of its previous step of delivery. How to…
holydragon
  • 6,158
  • 6
  • 39
  • 62
1
vote
1 answer

Odoo Access Error blocks users despite using groups attribute to hide elements

I have extended product.template form view with new notebook page. My intention was to hide the new page with groups attribute in order to not block other users (only to hide the elements). Unfortunately this does not work and when user who isnt…
xixo222
  • 157
  • 2
  • 9
1
vote
1 answer

How to get rpc response data to display in inherited template?

I am trying to get user data and then use it in the template. This is what I tried. var session = require('web.session'); var rpc = require('web.rpc'); var ListController = require('web.ListController'); ListController.include({ …
holydragon
  • 6,158
  • 6
  • 39
  • 62
1
vote
0 answers

Odoo 16 plugin creation: override an existing function

I'm very new at Odoo addon development, yet i'm trying to create a simple Odoo 16 plugin that will just override a few methods from the built-in addons and skip their functionality. The plugin installs succesfully, but won't override the code or…
Fed C
  • 143
  • 1
  • 13
1
vote
1 answer

SearchPanel in Odoo 14 change DEFAULT_LIMIT

Odoo 14 SearchPanel view have DEFAULT_LIMIT = 200, how can i change this limit? I needed to add this value to settings and change it if i need to. Looks like i need to extends JS ActionModel view, but i dont understand how. const ActionModel =…
Makis
  • 11
  • 1
1
vote
1 answer

Custom filename QWEB report [ODOO 14.0]

I need a big help. I need to change the report filename when the pdf is downloaded. This is the button:
oigna
  • 121
  • 7
1
vote
2 answers

How can I add a chatter for many2many fields (tags) in Odoo 16?

I want to add chatter for Tags. But odoo does not support tracking of many2many fields. What should i do? Any Suggestions. I tried to put tracking=true on tag_ids field but it does not work. I am stuck here. Please give your suggestions.