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.
Questions tagged [odoo-14]
591 questions
1
vote
2 answers
Error when trying to save general options in Odoo 14
When I try to save any config I'm getting the following error:
Error: Odoo Server Error
ValueError: Invalid field 'recaptcha_public_key' on model 'res.config.settings'
The complete trace is the following:
Odoo Server Error
Traceback (most…

JJLARAH
- 13
- 5
1
vote
1 answer
odoo 14, How can i make my model serializable?
I am using odoo 14. I created a custom addon. in my addon there is a model below
class Merchant(models.Model):
_name = "ecommece_advance.merchant"
name = fields.Char( required=True)
email = fields.Char(required=True)
address =…

roconmachine
- 1,876
- 2
- 17
- 24
1
vote
1 answer
How to adjust the stock of a product tracked by lots in Odoo via API
OK so I have been banging my head at this problem for way too long by now.
I want to sync stock levels of a product that is tracked with lots between the webshop and Odoo. For this reason I need to be able to make a stock adjustment of a lot via the…

CafeConMasCafe
- 51
- 6
1
vote
1 answer
Overwrite javascript method parseFloatTime in field_utils.js odoo14
I want to override parseFloatTime() method of field_utils.js in web module odoo14. For that i have followed to links:-
link1
link2
but not getting override in my custom module.
Also here is my code which i have tried following the above…

Gautam Bothra
- 565
- 1
- 8
- 23
1
vote
1 answer
How to add new field to hr.employee.public [Odoo 14]
I'm a newbie to Odoo. I can add new field to hr.employee but fail on hr.employee.public. It shows
error psycopg2.ProgrammingError: column emp.onboarding_date does not exist.
Why Odoo cannot create new column in the case?
I would like to add…

Jasoniem9246
- 93
- 2
- 10
1
vote
1 answer
Converting a Bytes object into a Pandas dataframe with Python3 results in an empty dataframe. Why?
I was reading about Bytes libraries and Pandas and I think the answers in the following post should work for me:
How to convert bytes data into a python pandas dataframe?
However, neither of them are working.
I have a CSV file with a few content.…

forvas
- 9,801
- 7
- 62
- 158
1
vote
1 answer
How to automatically create a record in a model based on addition or deletion of data in a Many2many field in another model
I've three models- otl.rescuee, otl.qrcode and otl.qrcode.history.
The fields used in otl.rescuee are:
class OtlRescuee(models.Model):
_name = 'otl.rescuee'
_inherit = ['image.mixin']
_description = "Rescuee"
name = fields.Char("Name",…

Jurgen Windcaller
- 41
- 8
1
vote
1 answer
odoo 14 Unhandled Promise done is not a function
I am facing a problem this.get_critical_paths(events).done is not a function
When I tried debugging the problem I can see the
console.log(paths)
Then I got this
Unhandled Promise Rejection: ReferenceError: Can't find variable: paths
I am not sure…

Moaz Mabrok
- 697
- 10
- 32
1
vote
1 answer
How to save one2many field in set_values method odoo 14
I am using odoo 14 and added one2many field in 'res.config.settings'. But this field value show false when save this res.config.settings form.
Below is my code:-
class ProjectResConfigSettings(models.TransientModel):
_inherit =…

Pawan Kumar Sharma
- 1,168
- 8
- 30
1
vote
1 answer
How to change size of tree view without zoom? Odoo 14
here I am again. In first place, sorry for my english. I am not good at this.
Well, I would like to change the size of tree view in odoo 14, in Work Orderview. The employers need I to increase size because It is too small. Is there a way to increase…

Mauri Sadaniowski
- 17
- 5
1
vote
1 answer
Setting up Odoo 14 + HTTPS through nginx
I've been developing a deployed Odoo v14 instance which I used to access using the IP.
My intention was to access this instance using a subdomain I own, I have registered domainname.com and created an A record called crm.domainname.com targeting the…

Nacho R
- 71
- 1
- 10
1
vote
4 answers
Odoo 14 "my_method_name" is not valid action on "my_module_name"
I am learning odoo 14 and I am trying to add a button in my form view. Unfortunately, every time I try to upgrade my custom module I get this error:
odoo.exceptions.ValidationError: Error while validating view:
button_custom_method is not a valid…

xixo222
- 157
- 2
- 9
1
vote
1 answer
Custom font for reports Odoo 14
how can I add custom font in my report. It doesn't change my font when I generate a pdf report.
@font-face {
font-family: 'CourierPrime-Regular';
src: local('CourierPrime-Regular'), local('CourierPrime-Regular'),
…

Kai Ning
- 159
- 9
1
vote
1 answer
Error on using Search function from purchase.order.line in Odoo 14
I have an action like so:
. . .
Confirm

holydragon
- 6,158
- 6
- 39
- 62
1
vote
0 answers
ERROR: there is no unique constraint matching given keys for referenced table "mail_message" Odoo Postgres
When I'm updating the base app I'm getting this error - ERROR: there is no unique constraint matching given keys for referenced table "mail_message".
for that i have execute this query too,
Query : ALTER TABLE "mail_tracking_value" ADD FOREIGN KEY…

Dipen Shah
- 2,396
- 2
- 9
- 21