Use this tag for version specific questions about Odoo 13 - 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-13]
616 questions
8
votes
1 answer
Odoo 13: How to solve CacheMiss Exception
I'm working on generating a .docx document on Odoo 13, I checked the "report_py3o" module but there is no version for Odoo 13 so I decided to some kind of migrate (I just deleted the "@api.multi") the Odoo 12 version to Odoo 13. I got an error like…

m0r7y
- 670
- 1
- 8
- 27
5
votes
3 answers
Why can't Python 3 virtualenv find some installed packages?
I am working with a Python virtualenv named env to execute Odoo. In the virtualenv bin directory, I got this:
pip
pip3
pip3.8
python -> /usr/bin/python3
python3 -> python
python3.8 -> python
And the Odoo service is running this command to execute…

forvas
- 9,801
- 7
- 62
- 158
5
votes
2 answers
Many2many fields use the same table and columns while inheriting with _name field Odoo13
This error is thrown up when "hr.employee" or any other model with
Many2many field is inherited to my model in odoo13.
Traceback (most recent call last):
File "/opt/odoo/odoo/modules/registry.py", line 59, in __new__
return…

Gokul Ram T J
- 51
- 1
- 1
- 3
5
votes
2 answers
How to activate the developer mode in Odoo?
I've installed Odoo version 10 module but I didn't see the activate developer mode under About section.

Bhavesh Odedra
- 10,990
- 12
- 33
- 58
4
votes
1 answer
Reload a new BoM in a manufacturing order
In odoo V13, we need to "update" the BoM in a manufacturing order. We use the PLM application to make changes to BoMs, and a change was made after the manufacturing order was created. We would prefer to not delete and re-create the manufacturing…

Matthew Goulart
- 2,873
- 4
- 28
- 63
4
votes
3 answers
How can I use odoo login api to external application like postman and java?
I want to hit login api from postman or java and the error generating bad csrf token.
Have any solution to fix this issue or we disabled csrf token?

Sohaib Ahmed
- 41
- 1
- 2
3
votes
1 answer
How to sum all values of all records of a field? (Odoo 13)
Suppose I have two float fields:
num = fields.Float('Number')
sum_num = fields.Float('Sum all values of the num field')
I created the first records and put value: 1.0 in the num field ;
num = 1.0
and want the result in the sum_num field is 1.0…

Leon Nguyen
- 187
- 1
- 16
3
votes
2 answers
odoo 13 customization multiple companies products and vendor
I have multiple companies on my odoo server.
I have customize a module which control products to showing on the order line. I need this to work on one company only not all. how
can i do that?

Abdul
- 57
- 1
- 10
3
votes
1 answer
Adding Button outside Tree View Odoo 13
Good day!
Is there a way to add a button above the Tree View in Odoo?
I would like to run a function whenever the User Clicks the button.
If this is not possible can you help me with an alternative?
here is my code on view:
'''

Matt Pedrosa
- 87
- 3
- 10
3
votes
1 answer
How to increase company logo image size on qweb report
I do not have an idea of how I can increase the company logo on qweb report.
This is the report.
How do I increase the company logo at the top left hand corner of the picture?

A.Sasori
- 385
- 3
- 20
3
votes
1 answer
The active_id is not working properly in Odoo 13. How to work without it?
This is the problem, which happens to everyone who needs to use active_id: https://github.com/odoo/odoo/issues/39070
In summary, in a customized stock.production.lot view, I have this:

forvas
- 9,801
- 7
- 62
- 158
3
votes
2 answers
Disable copy paste on text field odoo 13
I have a text field.
my_field = fields.Text()
I want to disable copying and paste(ctrl+c, ctrl+v) from intput with java script or python. How i can do it, thanks.

Павел Храпун
- 95
- 1
- 9
3
votes
3 answers
How can I download an invoice from Odoo (v13) via xml rpc in Python?
I struggle currently a bit to download an invoice as PDF from Odoo 13 with xml rpc.
The closest that I could get is this:
model_name = 'ir.actions.report'
model_method = 'render_qweb_pdf'
report_id = 282
invoice_id = 4
args = [[report_id]]
kwargs =…

chickahoona
- 1,914
- 14
- 23
3
votes
2 answers
How to open one2many record in current window, not a popup in odoo V13
I searched through the old forums and didn't find any decent answers. Is it possible to click on a record in a one2many list and have it open the full page, rather than just the popup?
If yes, where else i can make changes in the code ?
I'm trying…

aru
- 71
- 1
- 10
3
votes
2 answers
Can't Inherit Odoo theme template
I have Base theme called theme_test
Here is the template code(this template is added in manifest's data).
So…

James Kowaich
- 55
- 5