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
0
votes
1 answer
change bar chart column color in odoo
I have the task of changing colors in graph -> bar chart columns.
By default they are blue. But I want to change it. What should I do?
Customize odoo/addons/web/static/src/views/graph/graph_renderer.js ?
I should write down a custom widget(owl…

Ruslan Skira
- 33
- 7
0
votes
1 answer
How to update Odoo module via Docker CLI
I learn to use Docker
I used to use Odoo in a local instance.
For my changes concerning the XML or the database structure I stopped the server and used python3 ./odoo/odoo-bin -c myconf.conf -u custom_module
I now use an Odoo app in a Docker…

PeiKobayashi
- 21
- 2
0
votes
1 answer
How to get pricelist value in odoo 15
I am trying to access all customer details along with pricelist value via a controller.
But I am getting an error.
Here is my code
*.py
# -*- coding: utf-8 -*-
from odoo import http, _, tools
from odoo.http import…

KbiR
- 4,047
- 6
- 37
- 103
0
votes
1 answer
Odoo-15. How to disable record deletion (bool field)?
I made all the other entries false if one entry is true. How do I protect this entry from being deleted?
There must always be at least one entry.
res.partner.xml
user14213623
0
votes
1 answer
Merge sale order line in Odoo programmatically
How can I merge sale order line on a sale order in Odoo programmatically? I have duplicated products in sale order line, I want to remove the duplicated lines but merge the quantity.
Thank you

Johan Pham
- 23
- 3
0
votes
1 answer
how can I create a computed fields that is depending on another model
I have two models reservation(inherit from sale.order) and places . I want to make a one2many field in the places model so when a reservation(sale.order) is confirmed, the new customer who reserved the place is added to this field
here is my…

Amal Fatmi
- 11
- 1
0
votes
2 answers
Upgrade Odoo V12 --> V15 (CE)
Currently, I'm using Odoo 12 community version on my local system now I want to upgrade from Odoo 12.0 to Odoo 15.0 (CE).
I tried online but it's asking Enterprise subscription code.
When I tried with command as given below giving me following…

Trimantra Software Solution
- 3,223
- 2
- 25
- 44
0
votes
1 answer
Odoo - Context defined in view not passed in form
I'm using Odoov15, I try to inherit the Odoo sale_crm module. To make my tests, I modify the sale_order_views.xml in sale_crm/views.
I add thoses lines in the sale_view_inherit123 form :

T.Nel
- 1,540
- 2
- 18
- 34
0
votes
1 answer
How to upload multiple files in website, and add it as an attachment to a new record in Odoo 15?
I'm trying to upload multiple files from the Odoo website, and then call a controller with method post to create a record and save the attachment.
this is my module student.py
ref = fields.Char(string="Ref")
first_name =…

nacer kraa
- 9
- 4
0
votes
2 answers
ValueError: Template rendering for language should be called with a list of IDs
I'm trying to send an email from the module, in Odoo 15 here is my method.
student.py
def action_send_reply_by_email(self):
template_id = self.env.ref('om_university.student_card_email_template').id
template =…

nacer kraa
- 9
- 4
0
votes
1 answer
Incorrect multicurrency Invoice - Odoo 15
I have multicurrency setup in odoo 15. I create the invoices in my local currency and i expect it to be converted into its dollar equivalent when I view the invoice in the invoice dashboard. Unfortunately it doesnt happen like that. When I create…

Nate
- 21
- 1
- 6
0
votes
1 answer
ModuleNotFoundError: No module named 'psycopg2.extras'
I'm using Mac M1 and I'm having trouble opening Odoo. I try to run the command python3 odoo-bin --i base d db15 --limit-memory-hard 0 but it fails
File "/Users/simjiahong/odoo/odoo-bin", line 5, in
import odoo
File…

Jia Hong
- 1
0
votes
1 answer
Add js onclick to a button in an inherit template Odoo 15
So I added a button to a template.
0
votes
1 answer
how do i change the domain of a action from a field in odoo
There is a default many2one field in 'hr.employee' model called 'parent_id'(Manager)
My requirement is:
If there is any record on that parent_id field then the action of 'calendar.event' domain will be [('user_id','=',user.id)] if no record is…

Sidharth Panda
- 404
- 3
- 17
0
votes
1 answer
Odoo cannot print on server
I deployed my Odoo App on our own server.
When I tested it on my Local Computer, it was just working fine.
But when it deployed, it can't download a Report
The console throw error like this
Error on Console
The App shows a notification of…

Gopla
- 1
- 5