Questions tagged [odoo-15]

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.

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…
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…
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…
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 =…
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 =…
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…
0
votes
1 answer