Use this tag for version specific questions about Odoo 15 - 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-15]
503 questions
1
vote
1 answer
How to duplicate a product that already has attributes and replace its name? - Odoo15
I'm having problems trying to duplicate a product that already exists, what I wanted was to click on a button and it would run a function to duplicate the article that is being represented on the page with all the attributes of the old product.
If…

arleite
- 101
- 6
1
vote
1 answer
Odoo 15 Label Field Too Wide
In the Odoo 15, I realize that the width of the label for the field is too wide. When I inspect the element in the browser, the CSS that causing this behaviour is this one:
@media (min-width: 992px)
.o_web_client:not(.o_chatter_position_sided)…

NM Naufaldo
- 1,032
- 1
- 12
- 30
1
vote
1 answer
Show reserve information and not many2many_tags [Odoo 15]
I'm having some trouble with an xml notebook. I want to show all the information from a reserve, not only their tags. This is how It looks like right now
And I want the fields "Name", "Room Category", etc. to be shown in the first view.
This is my…

odoo newbie
- 179
- 10
1
vote
1 answer
Create shape in xlsx report using python in odoo?
I need to generate square shape in xlsx report using python in odoo15?

Allbin John
- 21
- 3
1
vote
2 answers
path is not a valid addons directory
Hello
following the steps in "ODOO 15 DEVELOPMENT ESSENTIALS FIFTH EDITION" I'm trying to add a custom addons folder using a terminal on Ubuntu (wsl), when I run this command:
$ odoo -d 15-library --addons-path="./library,./odoo/addons"
I get this…

E. Zahra
- 87
- 1
- 16
1
vote
1 answer
How can I show the stock information in odoo e-shop
how can I show the stock info on my website in odoo.
I made some research and tried the add this to website_sale/views/templates.xml
but it's giving me an error when rendering the template
KeyError:…

Selman
- 274
- 2
- 4
- 17
1
vote
1 answer
how fetch inherit model into another model field value fetch in other module value in odoo15
class StockPicking(models.Model): _inherit = ['stock. Picking'] _description = 'test.test' _order = 'id'
def _default_group_id(self): if self.env.context.get('default_picking_id'): return self.env['stock.…

Jyoti
- 13
- 3
1
vote
1 answer
Disable my custom button on tree view with condition in odoo 15
I have a button on treeview in my xml file and, I want to disable button for a few records not all but I don't know how???
I used invisible = (condition) but it didn't work correctly because invisible attribute hides column for all records, I used…

reyhane janboori
- 332
- 1
- 8
1
vote
1 answer
how to fix External ID not found in the system on user create button?
I'm pretty new in Odoo, for the moment I dind't modified any code but this error is persistent when I try to create a new product.
Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
…
1
vote
1 answer
Odoo 15.0 - assign: action = {...} not working
I am trying to automatically print a report when a field is triggered with an automated action. In the documentation is says to return an action assign: action = {...} but nothing is happening. Here is my code. I'm just trying to download the basic…

Brendan Cariota
- 21
- 1
1
vote
2 answers
How to set an Odoo docker container using existing PostgreSQL server?
I have bare-metal PostgreSQL server with ip = 192.168.33.12 that i want to use with Odoo.
And I want to run Odoo in Docker and have some kind of persistence.
So, I wan to connect dockered Odoo with my PostgreSQL server.
Here is my…

Nil
- 21
- 5
1
vote
1 answer
Odoo Api Externe
I'm trying to search in db odoo with api extern using php
So my first code is
$url = 'http://localhost:Port';
$url_auth = $url.'/xmlrpc/2/common';
$url_exec = $url.'/xmlrpc/2/object';
$username = 'username';
$password = 'password';
$db =…

Ben Hmida
- 33
- 5
1
vote
1 answer
How to inherit and modify Odoo Tax Calculation?
I wanna inherit and modify odoo default tax calculation in odoo_15 Community because Odoo default tax calculation is losing over 100 kyats from our revenue. How can I Inherit and Modify Odoo Tax Formulation?

Gladiator
- 21
- 2
1
vote
1 answer
How can I kill Odoo running locally on Linux (Mint)
I installed the Odoo Debian package (from here). Now it just started running and I can't stop it. I want to start it again with a different config file but I can't find a way to kill the instance that is currently running.
I have tried to find the…

kpg
- 7,644
- 6
- 34
- 67
1
vote
0 answers
Why Odoo 15 emails do not show images?
When I open an email sent from Odoo, it does not show any images:
If I inspect the link of the image, I…

forvas
- 9,801
- 7
- 62
- 158