12,877 questions
0
votes
0
answers
52
views
Odoo v.19 not loading CSS file from assets
I read that from Odoo v.17 onwards, CSS files should be listed under the assets section of the manifest file, like so:
'assets': {
'web.assets_backend': [
'mydashboard/static/...
Advice
0
votes
0
replies
37
views
Attempting to print a Gnatt View in Odoo
I am interested in printing the Gnatt view via the Project module in Odoo. I am currently using version 18 enterprise. It seems that in previous versions of Odoo this might have been an option. I ...
3
votes
0
answers
78
views
How can I make a fields.Monetary keep 5 decimal places?
I need a monetary field to keep 5 decimal places (e.g. 12.34567), but Odoo version 18.0 enterprise keeps rounding to the currency’s precision (2 decimals for my company currency).
Here is my code:
...
1
vote
1
answer
112
views
Unable to connect Redis to Odoo 19
I am using Odoo 19 on an Ubuntu 24.04.3 LTS VPS server. I tried to use Redis for caching, but it is not working. I followed the steps below.
sudo apt install redis-server -y
sudo systemctl restart ...
2
votes
1
answer
73
views
Portal users can`t see product model
On the website, I want to show users sales orders and products.
The problem I encountered is that Odoo does not want to display both (sales orders and products).
Therefore, I added recording rules and ...
2
votes
1
answer
52
views
Odoo 17 domain filter does not behave consistently
Here's is output from Odoo shell
>>> env['stock.quant'].search([('on_hand','=',True),('product_id','=',6800)])
stock.quant(1189, 7017, 7914)
>>> p=env['product.product'].browse(6800)
...
0
votes
1
answer
322
views
An error occured while loading javascript modules, you may find more information in the devtools console (Odoo)
I overrided the default js method onDownloadButtonClicked (odoo/addons/web/static/src/views/pivot/pivot_render.js) for downloading xlsx files
(it`s my method) statis/src/js/views/my_render.js
/** @...
0
votes
2
answers
114
views
I can't remove a title from a variable in a sales order in Odoo 14
I am working with Odoo 14, and I need to remove the CNPJ/CPF title from the sale.order PDF. I’ve managed to remove the data itself, but the title CNPJ/CPF: is still showing up.
Here is the XML code I'...
3
votes
1
answer
72
views
TypeError: unsupported operand type(s) for +: 'SQL' and 'str'
Issue:
I'm encountering a TypeError: unsupported operand type(s) for +: 'SQL' and 'str' when trying to install an Odoo module that was working fine in Odoo 17, but now has issues after migrating it to ...
1
vote
1
answer
143
views
Module loading logistics failed: file logistics/security/ir.model.access.csv could not be processed:
Exception: Module loading logistics failed: file logistics/security/ir.model.access.csv could not be processed:
No matching record found for external id 'model_logistics_order' in field 'Model'
No ...
3
votes
1
answer
106
views
How to show archived records in Odoo 17
I need some help.
I made a functionality that allows finding duplicate records in the system and these duplicates are displayed in a drop-down list on the pop-up. But I can't display archive records ...
0
votes
0
answers
114
views
How to implement Odoo login authentication using OTP sent via email (instead of password)?
I'm trying to implement a custom login mechanism in Odoo where users authenticate using an OTP (One-Time Password) sent to their email, instead of the traditional username/password method.
My goal:
...
0
votes
1
answer
83
views
How to access project's worksheet details via JSON RPC API?
I'm currently building a pipeline to integrate Odoo with one of my services. As part of this, I need to access the content of the worksheet linked to a project task.
I've been exploring the JSON-RPC ...
1
vote
1
answer
196
views
How to add fields in res.users, and make it available to every module?
As the title said,
I need to add some fields that would be available on every modules, as default. They are phone number, room, and extension number. Almost all internal modules are using the phone ...
0
votes
1
answer
63
views
adding chatter on res.users
I'm curious how to add chatter to res.users in Odoo14.I keep trying but keep getting error.
from odoo import models, fields, api
class ResUsers(models.Model):
_inherit = ["res.users", &...
2
votes
1
answer
86
views
Send an email with BCC in Odoo V17
I'm trying to simply send an email with BCC (using OCA addons 'mail_composer_cc_bcc').
I have this custom code :
def send_email_participant(self):
self.ensure_one()
template = self.env.ref('...
0
votes
1
answer
63
views
How to compute on load?
I have a model like this:
# Calculated Fields
request = fields.Many2one('job.request', string='Request', required=True)
e_name = fields.Char('Nama Asset', store=False, compute="...
1
vote
0
answers
38
views
Odoo 10 REST API
There is a difference in the response log when I call the API URL http://localhost:8070/api/product in my browser. The response log shows success.
2025-05-21 07:40:00,286 2288 INFO GPE_LIVE Werkzeuge:...
0
votes
0
answers
33
views
Creating Rest API ODOO 10
hello here I am a beginner using odoo, where I am still confused about creating an api, I want to create a partner api where I can get and post to be used in react. I have matched the code with gpt ...
0
votes
0
answers
141
views
How to add a custom view button next to Kanban/List/Calendar in Odoo 18 CRM module?
I'm working with Odoo 18, in the CRM module, and I want to add a custom button in the top-right view switcher (next to Kanban, List, Calendar, etc.), as shown in this screenshot:
What I want:
Add a ...
0
votes
0
answers
43
views
Can't render odoo views
I'm starting with Odoo and according to this documentation:
https://www.odoo.com/documentation/18.0/es/developer/tutorials/server_framework_101/05_firstui.html
I'll be able to render the views.
Here ...
0
votes
0
answers
43
views
odoo hide edit button in conditionally state
I want to hide edit button when state is confirm. I have search around and find this code.
@api.model
def fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False):
res = ...
0
votes
0
answers
47
views
Odoo Owl POS Many2many field Js to Python transition error
Hi I am new to the OWL Framework. I had added a M2M field that links to new model called sally_addons.flower_addon. So to every orderline I could add these many2many, no errors but everytime i refresh ...
2
votes
1
answer
210
views
Why isn't the custom button I added to the list header in my Odoo 18 module showing up?
I created a module in Odoo 18 and within it, an XML file called product_views. It contains a list view. I added a button to the header of the list, but it doesn't appear.
Here is my xml file:
<?xml ...
0
votes
0
answers
53
views
How to patch or extend PivotGroupByMenu (module not found error)
I'm currently upgrading a custom module from Odoo 17 to Odoo 18. In Odoo 17, I had the following code to patch the PivotGroupByMenu in order to filter pivot fields dynamically:
/** @odoo-module **/
...