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
1 answer
How to add a field for File Attachment in Sign-up page?
I just did a customization in a website sign-up page by following this odoo 14: how i can add additional fields in SignUp like address etc.
I can now do most of the fields I want because most of them are in type text.
However, I need one more field…

holydragon
- 6,158
- 6
- 39
- 62
1
vote
0 answers
Why should i use debug=assets to load my JS file Odoo 14
I added a new button near the Create Button in Odoo 14 but the issue that im facing its when i remove debug=assets JS file can't be executed anymore
is there's way to load it instead of using debug=assets ??
Thank you

Farid
- 11
- 1
1
vote
0 answers
Odoo 14 how to add multi-levels to a tree view
I don't really know if what I am trying to do is possible. how to create multi-levels in the tree view like grouping which allows you to drill down the task tree
the closest thing I found was the search panel but it can't handle the large amount of…

Moaz Mabrok
- 697
- 10
- 32
1
vote
1 answer
How to add more default empty rows in list view?
I need to add more default empty rows in the list view.
Right now, it only gives 4 empty rows on a new record. However, I need to add, say, 10 more default empty rows.
This is because I increased the height of the table using css.
.o_list_view…

holydragon
- 6,158
- 6
- 39
- 62
1
vote
1 answer
Set default value (auto select a line in the child view) from a list for a Many2One value in Odoo 14
I have a parent model (Plant) which sends the active_id (plant_id) in the context as a default:
class Plant(models.Model):
_name = 'db.plant'
_description = 'db.plant'
name = fields.Char("Name", required=True)
...
Plant view with a…

Alberto Crespo
- 2,429
- 5
- 28
- 51
1
vote
1 answer
Odoo 13-14 get current popup model
I was wondering if there is a way in Odoo 13-14 to know if currently there is a popup opened and if we can know the model of the current popup.
In the below image, I would like to know the model of the popup (i.e. res.partner).

Sam
- 291
- 3
- 17
1
vote
1 answer
How to add a new field in Inventory Pivot reporting view. Odoo 14
I want to add a custom field to the Product Moves reporting in Inventory > Reporting menu.
I try with this code but I got always an undefined value.
What's wrong please?
class stockMoveLine(models.Model):
_inherit = 'stock.move.line'
…

Ing
- 551
- 7
- 20
1
vote
1 answer
calculating in odoo xml view
is it possible to calculate variables in odoo(direct in the xml template)?
Example:
if price > 20
do something
if price <= 20
do something
or
price + log
do something
I‘ll calculate direct in the xml…

Andy Bright
- 13
- 4
1
vote
0 answers
How to add new fileds/values to line widgets in Barcode mobile view in Odoo14 EE?
Hi i am trying to add two new fields to the Barcode mobile view. I went through the default js code of odoo, but didn't find a way to add my custome fields to it.
Here is the default…

KbiR
- 4,047
- 6
- 37
- 103
1
vote
1 answer
Optional Dependencies in Odoo 14 CE
Is there any way to can make optional dependencies in Odoo 14 CE?
I know that there is a dependency attribute in the manifest file that we need to specify, and yes, I have been using it to the best of my abilities.
However, I sometimes need to write…

holydragon
- 6,158
- 6
- 39
- 62
1
vote
2 answers
Database creation error: Access Denied Odoo 14
I have searched a lot of sources without any success. I installed odoo 14 in my system, and now trying to create the first db and it is giving Database Creation Error.
My odoo-server.conf:
[options]
; This is the password that allows database…

senarijit1618
- 389
- 4
- 16
1
vote
1 answer
How to make looping in Qweb by adding a newline (line break)
I have a Many2many field and would like to make a new line after each item.
When trying with other separators like : ',', '/', ... that's work. The problem was only with '\n'. I even tried with '
'
Here is my code:

Ing
- 551
- 7
- 20
1
vote
0 answers
How to point multiple domains to the same website that is not the main website in Odoo 14
I use a multi website setup in Odoo 14 and I want to have multiple domains pointing at one domain that isn't the main domain.
example
I have 2 websites
website A is the main website, everything that isn't part of a known domain should end up…

JAS
- 11
- 1
1
vote
1 answer
how to change OrderReceipt in odoo 14
I'm trying to edit the client order receipt at the cashier, so I tried to inherit it and change its content like this: I created a new module, added an xml file in qweb list in manifest, and wrote this in it:

Tessnim
- 434
- 9
- 29
1
vote
3 answers
Global / Line Discount for Sale/Purchase/Account
[Odoo 14 Community Edition]
I need to customize Global and Line Discounts (amount & percentage) into Sale / Purchase / Account.
I have done the Sale and Purchase parts. It is just adding fields and a few logics here and there and send the data to…

holydragon
- 6,158
- 6
- 39
- 62