Use this tag for version specific questions about Odoo 16 - the suite of open-source business applications written in Python. When using this tag also include the more generic [odoo] tag where possible.
Questions tagged [odoo-16]
187 questions
0
votes
2 answers
Odoo migration : addons/phone_validation
In my odoo version 13, i use a custom OCA-module depending on the official addons/phone_validation:
class PhoneValidationMixin(models.AbstractModel):
_inherit = "phone.validation.mixin"
After having migrated to v16, i wanted to re-install this…

sylvain
- 853
- 1
- 7
- 20
0
votes
0 answers
Attachment from website not logging into backend Odoo
Attachment from website not logging into backend Odoo. Please help.
I have these 3 inputs in the website views.
0
votes
0 answers
My JS function doesnt work on planning.role in Odoo 16
I'm working on customizing filters in an Odoo dashboard with the ks_dashboard_ninja module. The code defines various filter append functions (like appendRoleFilter, appendProjectFilter, etc.), which add specific filters to the dashboard based on…

RIzu
- 21
- 3
0
votes
0 answers
Changing the style of default emails in odoo 16
I wanted to change the style of default odoo e-mails such as purchase invoice e-mail in odoo 16, but I encountered problems:
1- I wanted to give a direction rtl to the email code, for example, sent for Order Confirmation, so that the text of the…
0
votes
0 answers
Adding an Owl component to view in Odoo 16
I'm using Odoo v16 and I want to use Odoo Official Frontend Docs for v16 as an example,
In the tutorial
I want to use the component inside an existing frontend page. assume I want to show the counter on my home page of the website (not a custom page…

amin shahin
- 1
- 3
0
votes
0 answers
Odoo 14: There is an app in odoo app store select and deselect all companies for odoo v16 , how to make it compatible for version 14
There is an app in odoo app store select and deselect all companies for odoo v16 , how to make it compatible for version 14
This is the result of the app:
I've tried to change in javascript file and xml file but didn't affect
0
votes
1 answer
Inherit a widget in js odoo 16
There is an edit that I made on the search more option, I need it to be shown all the time,
in odoo 14, i made it by this code :
odoo.define('customized_m2o_widget.Fields', function (require) {
"use strict";
var relational_fields =…

Danyah Hussein
- 3
- 1
0
votes
1 answer
How to make Qweb Report Accessible to Public User?
I am Trying to access Report URL http://192.168.0.158:8020/report/pdf/account.report_invoice/20
But it is asking me to login. I want my report to be accessible to an user outside of odoo. How can i achieve this?

Satish Prajapati
- 75
- 7
0
votes
0 answers
psycopg2.errors.InvalidColumnReference: there is no unique or exclusion constraint matching the ON CONFLICT specification
I'm trying to install an Odoo module but I got the above error. I use Odoo version 16. I guess the module was fine at first but don't know what happened. I used ChatGPT and it says:
Verify the unique or exclusion constraint: Check the table…

Raskolnikov
- 315
- 1
- 2
- 7
0
votes
1 answer
Using Odoo v16 OWL Component inside existing website page
I'm using Odoo v16 and I want to use Odoo Official Frontend Docs for v16 as an example,
In the tutorial, we created the Counter OWL Component.
But in the example, they created a controller and initiated the whole OWL stack from the ground…

M.A. Heshmat Khah
- 740
- 12
- 27
0
votes
1 answer
How to hide the pricelist dropdown button to users that are not logged in?
I've been trying to make the price-list dropdown option not show the user if not logged in and once signed in, only show the price list it has been given without having the option to select the public price list.
In terms of the price list showing…

Sebby
- 11
- 1
0
votes
1 answer
How to customize the statusbar_visible display of the state field in odoo 16
I have inherited view of mrp.production and write xpath as follows
draft,to_approve,approved,rejected
…

Cris Tuan
- 1
- 1
- 3
0
votes
1 answer
How can i filter by file word format on the dialog window when i upload an file .doc in Odoo 16
1
I have a model with an word file attribute:
word_file = fields.Many2many('ir.attachment', 'document_ref_table_1', 'document_id_1', 'ir_attachment_id_1' , string="File Word", required=True)
Inside the view a show it with:

Cris Tuan
- 1
- 1
- 3
0
votes
1 answer
how to allow negative value in debit/credit in OpenERP(odoo V16)?
I need to input negative value in debit/credit in odoo, version16, the source code as below:
source file: /addons/account/account_move_line.py
fields:
debit = fields.Monetary(
string='Debit',
compute='_compute_debit_credit',…

Grant.S
- 43
- 3
0
votes
1 answer
How to open a form view (wizard) after button click in odoo 16 without closing all existing opened form view (wizard)
How to open a form view (wizard) after button click in odoo 16 without closing all existing opened form view (wizard)
def get_preview(self):
email_preview_action =…