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
3
votes
1 answer
How to override website_slides CSS?
I am using Odoo 13. I would like to change the background colour from purple to blue from a slide. website_slides is located in /src/odoo/addons/website_slides. I can't directly change…

Anonguy123
- 407
- 3
- 16
3
votes
2 answers
how to compute field on odoo 13 sale order line?
I'm trying to calculate discount field on sale order line, and the method was working well in odoo 12 but in odoo 13 i get this error every time I try to add line
sale.order.line(,).discount_mount
here is the what I've…

Mohamed Fouad
- 476
- 9
- 27
3
votes
2 answers
Add extra fields to odoo many2many field
I am trying to create a fine allocation functionality in hr.employee.This module inherits from hr.employee. The process is:
Click the Fine Allocation menu that opens a wizard. The wizard has a many2many relation field called employee_ids related to…

Eric
- 940
- 12
- 27
3
votes
1 answer
Table name is too long odoo 13
I am getting this error after adding a binary filed I remover the filed but getting the same error
Table name 'n_hesaby_subscription_manager_subscription_manager_res_users_rel' is too long
odoo.exceptions.ValidationError: ("Table name…

Moaz Mabrok
- 697
- 10
- 32
3
votes
2 answers
AttributeError: 'NoneType' object has no attribute 'groups' in odoo 13
I am new to odoo-13 and I need help in debugging this error.
My motive is to create a custom module in odoo using python3. It is working in my local installed odoo but if I tried to install it in the other server installed oddo it produces the…

Deepak Raj
- 316
- 1
- 10
3
votes
1 answer
odoo sever error log: Function declared as capable of handling request of type 'json' but called with a request of type 'http'
I have an ionic 4 application and i try to call odoo jsonrpc but when request reached to the server there I see the log like '/web/session/authenticate: Function declared as capable of handling request of type 'JSON' but called with a request of…

Parimal Vaghasiya
- 141
- 2
- 9
2
votes
1 answer
What is the scope of the variables passed to subtemplates in QWeb?
I am using Odoo 13, but this is a QWeb question:
I got the following template in QWeb:
Inside subtemplate:

forvas
- 9,801
- 7
- 62
- 158
2
votes
2 answers
Custom controller very slow for some users, really slow for others
We have built a custom controller for a customer which passed products data and loads their products in a custom url.
The controllers are basically like this:
class CustomProducts(http.Controller):
@http.route('/custom', type='http',…

Simon Gottberg
- 27
- 8
2
votes
0 answers
Odoo.sh Upgrade to v15 : how to migrate obsolete but inherited views?
I am currently following the UPGRADE process in odoo.sh to migrate to Odoo v15.
Because some of the templates have been removed or renamed in v15, I got 100 errors similar to:
ValueError: External ID not found in the system:…

sylvain
- 853
- 1
- 7
- 20
2
votes
1 answer
Odoo: Change dynamical the widget of a field
my odoo application has many widgets defined for text fields. I created a field that allowed me to select the widget type. The XML used for this task was:

Martín Vélez
- 21
- 2
2
votes
3 answers
how to hide edit button in view form (Odoo v13)
I would like to know the way to hide the "edit" button from the form view when it is in a specific state
for example:
In the help desk I have the states that are shown in the image, I want the edit button to be completely hidden from all people when…
2
votes
1 answer
Why a specific div in the header is overlaping the page in PDFs in Odoo 13?
I am making a customized PDF report in Odoo 13 Enterprise. I have to add a vertical text in the left margin of each page of the report. So I need to put that vertical text in the header.
To do that, first I created my own paperformat:

forvas
- 9,801
- 7
- 62
- 158
2
votes
2 answers
Process mixed bytes data into python list
I am reading data remote .dat files for EDI data processing.
Original Data is some string bytes:
b'MDA1MDtWMjAxOS44LjAuMDtWMjAxOS44LjAuMDsyMDIwMD.........'
Used decode as below...
byte_data = base64.b64decode(byte_data)
Gave me this below byte…

NinjaBat
- 370
- 4
- 20
2
votes
2 answers
ValueError: External ID not found in the system: website.assets_frontend
I am in the process of upgrading from Odoo V13 to V15 and I am getting an error when building my staging branch because of a custom module I wrote to change some styling.
How can I fix the following errors
File…

ghan
- 525
- 11
- 24
2
votes
1 answer
come back to tree view when user click on save button in odoo 13.0
I override the write function in my model for calling my function that is manually set changing in DB, actually I delete this record from table in this function after that I want comeback to tree view automatically and I don't have the changed…

reyhane janboori
- 332
- 1
- 8