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
0
votes
1 answer
Odoo 14 upload xml file
in my module I need to upload and read xml data file and I can,t find any examples for this. On my form I add file and need to parse data by clicing button. My code:
model.py
file = fields.Binary(string='File', attachment=True, store=True)
file_name…

Umks
- 55
- 2
- 8
0
votes
0 answers
odoo.tools.convert.ParseError: while parsing -> views.xml:15, near
Please let me know where I'm making mistake
I 'm trying to add a clickable Text, when click on that move to the form and tree view I can save data and when click on save button I can get back to the previous view, and the previous view then have a…

Parikshit Parmar
- 1
- 1
- 2
0
votes
0 answers
Odoo webshop Add input field
I am using odoo ecommerce and I am setting up my own webshop. This shop doesn't need to have any shipping methods, however clients need to come and pick up the packages. I wanted an option for clients to select their own delivery date(time). I have…
0
votes
3 answers
Invalid generated code while compiling template 'web.ViewSwitcherButton' odoo
Traceback:
Error: Invalid generated code while compiling template 'web.ViewSwitcherButton': missing ) after argument list
at QWeb._compile (http://****/web/content/112-34b6e20/web.assets_common.js:971:133)
at Object.atNodeEncounter…

i3bdulr7man
- 57
- 1
- 5
0
votes
2 answers
Retrive data from database in Odoo 14
I have a requirement that want to fulfill is bringing a value from the database and display in the UI, we have a app which we can assign "projects" to many people so i have to display in the persons information a field with the project currently…

Ron
- 91
- 8
0
votes
2 answers
disable editable fields in Tree View Odoo 14
I am trying to make in this tree view the fields read only, but this view is inherited from hr.employee, and we are using , and I am able to make the normal fields read only except for the TITLE and ASSIGNED TO columns
Or is it possible to…

Ron
- 91
- 8
0
votes
1 answer
Odoo14 | No record found for unique ID base.user_admin
Accidently the user with id=2 which is (admin) deleted.How we can recover/fix this?

Dipen Shah
- 2,396
- 2
- 9
- 21
0
votes
0 answers
datetime.datetime object is not callable
having an issue with dates in this case I'am trying to make some date calculations based on start and end dates but for some reason this errors keep giving issues
Traceback error is:
Error:
Odoo Server Error
The above exception was the direct cause…

Ron
- 91
- 8
0
votes
1 answer
Unexpected token < in JSON at position 18
I want to run odoo on machine without internet connection. I've just installed odoo using internet connection, so it works, while there is internet connection. But when I turn internet off I have this error after logging:
SyntaxError: Unexpected…

Victoria
- 3
- 2
0
votes
1 answer
how to add elements to an existing Many2One fieldusing inheritance in Odoo 14?
I have a custom module and i am trying to modify "Time off module" by inheriting it ! and I want to add an item in the existing Many2One (dropdown) field. what would be the syntax to do that? for both python and XML. The model name is "hr.leave" and…

Yatrik Amrutiya
- 47
- 7
0
votes
1 answer
Odoo Studio: I can't use domain in m2o field to hr.employee field
I'm using Odoo Studio to create a model that includes a m2o field to the employee model, and I need to set it's domain to an specific category.
I created an employee and I assigned the category "Operario"
I created a new model in Odoo Studio with…

Alejandro Velasquez
- 67
- 1
- 7
0
votes
1 answer
ModuleNotFoundError: No module named 'odoo'
I have installed odoo14 windows and configured it to pycharm, but when I try to customize anything from the .py file, the update is not happening, its showing the below error when i run the file
Error:
ModuleNotFoundError: No module named…

Gali_Mahesh
- 51
- 1
- 5
0
votes
0 answers
hr_timesheet_time_sheet: Field res.company.sheet_range with non-str value in selection
During install of the hr_timesheet_time_sheet module in Odoo 14 community edition, the stacktrace below is produced. This is related to recent changes in Odoo 14 handling of the Selection field # and #.
AssertionError: Field res.company.sheet_range…

Gali_Mahesh
- 51
- 1
- 5
0
votes
1 answer
How to update existing module from ODOO 11.0 version to Newest version14.0...?
I'm trying to upgrade version 11 to version 14. I have one custom module, So right now I need only to update the custom module from v11 to v 14...?
Thanks in advance for your reply.

Gali_Mahesh
- 51
- 1
- 5
0
votes
1 answer
How Do I transfer data from sale order to invoice when clicking on 'Create Invoice' in Odoo 14 or Flectra 1.7?
I run Flectra inside a Docker container. I have custom fields in sale.order which I want to transfer to account.invoice.
class SaleOrder(models.Model):
_inherit = 'sale.order'
myField = fields.Integer(string='My Field', default=21, required…

headkit
- 3,307
- 4
- 53
- 99