201 questions
2
votes
1
answer
45
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
0
answers
31
views
error 404 when custom module with odoo app
I am getting 404 error for all api when I test with thunder client, although I did it before and tested successfully, but when I delete database and recreate new one, I get that 404 error for all api. ...
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
110
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:
...
2
votes
0
answers
69
views
how fix overlapping header in odoo 17
i am working with odoo 17, i inherited the web.external_layout_stander template to add other information in the header, but the header becames long and it's overlapping the report content ... i added ...
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('...
1
vote
0
answers
60
views
How to restrict user login in Odoo based on time range
I'm building a custom Odoo module that should allow users to log in only during specific hours (e.g., between 08:00 and 18:00). I added access_start_time and access_end_time as fields.Float, and I ...
0
votes
0
answers
82
views
TypeError: 'bool' object does not support the context manager protocol at odoo 17 th version stock
I am struggling to fix the error called "TypeError: 'bool' object does not support the context manager protocol from button action called action_confirm in newly created module at odoo inventory ...
0
votes
1
answer
36
views
E 250320 13:48:06 odoo_btn_utils:212 There is no country named: 'Country'
I am running into an issue on Odoo version 17.
The issue is that I am trying to receive the country id from odoo based on my users selected country and I get the error:
[E 250320 13:48:06 ...
0
votes
0
answers
38
views
Do Odoo webhooks work in Odoo on-premise?
I have an instance of Odoo in SH and with it I created webhooks and automated quite a few processes.
Now I am trying to do the same with an on-premise Odoo instance installed on a non-Odoo server.
...
0
votes
0
answers
125
views
Queue Job tasks stuck in "pending" state in Docker Swarm with multiple nodes (Odoo 17)
🚨 Queue Job tasks stuck in "pending" state in Docker Swarm with multiple nodes (Odoo 17)
Module
queue_job
Describe the bug
In a Docker Swarm environment with three nodes, one Odoo instance, ...
0
votes
1
answer
174
views
How to show 3 digits using the sum feature of the Tree View in Odoo version 17
In a Odoo version 17 model, the Total Volume (total_cbm) is declared with 3 decimal digits
total_cbm = fields.Float(string="Total Volume (CBM)", digits=(16, 3))
However, in the XML template ...
1
vote
0
answers
40
views
Duplicate Accounting Entries with Gross and Net in Payroll Structure (Odoo 17)
I’m encountering a very confuse issue with the Payroll module in Odoo 17 related to accounting entries when using Gross and Net salary rules. The problem causes duplicate amounts in the journal items, ...
-1
votes
1
answer
35
views
Odoo 17 - OWL Object Destructuring
I'm confused on how can i destructuring object in Odoo 17. I usually using <t t-foreach> to loop through an object and rendering each field inside the loop with <t t-esc="x.field_name&...
0
votes
1
answer
419
views
Inheriting POS Self Order Product Card Template in Odoo 18: Custom Fields Not Showing
I am working with Odoo 18 and have added custom fields to the POS self-order product card. Specifically, I added **preparation_time **and **short_description **fields to the product.template and ...
1
vote
1
answer
118
views
Odoo JsonRPC : Get m2m, m2o or one2many nested field with read method
With odoo jsonrpc default api, is there a way to get directly nested field content on odoo like many2many, many2one or one2many in a single read call :
{
"jsonrpc": "2.0",
&...
0
votes
0
answers
62
views
Response Issue when using : web/session/authenticate - Odoo 17,18
I am using this to get session_Id which I use for further APIs.
https://xxxx.odoo.com/web/session/authenticate
The issue is I have 3 databases and only for the first one it returns this :
"...
0
votes
0
answers
23
views
How to hide the inline create but retain the create_edit with form in many2one field in odoo17?
I want to disble the inline creation, I only want to create using a from if the item not found in the many2one dropdown. The code below is not helping.
<xpath expr="//field[@name='partner_id']&...
0
votes
0
answers
67
views
Odoo 17 Community: Missing stock information in quotation / sales order
We are starting with Odoo v17 (actual version is Odoo 17.0-20250103) and we wonder where the stock informations are gone? In former versions (v15) there was a small icon (chart) displayed on the right ...
0
votes
0
answers
379
views
AssertionError: Element odoo has extra content: data, line 2
I’m trying to install a custom Odoo 17 module, but when I attempt to install it, I get the following error,This error occurs when trying to load the XML file for my module. The XML structure appears ...
0
votes
0
answers
72
views
In Odoo 17, where can customize the menu when the gear icon is clicked
In an Odoo 17 custom app which was passed on to me, there is a need to change the spelling and update the menu list in the dropdown. However, I cannot find in the template's xml code where it is. I am ...
0
votes
0
answers
20
views
What are the steps I need to do to change a field from Selection to Many2one
This is related to my previous question, see here. The package_type field has 2 values that can be selected, but I need to dynamically change it based on the other fields.
package_type = fields....
0
votes
0
answers
46
views
Odoo17 page duplication in product report
I am encountering an issue with Odoo 17 when generating a custom stock report.
When I select the report and click "Print," I have made modifications to the product report using Odoo Studio. ...
0
votes
2
answers
524
views
How to get the current date in Odoo 17 Automation Rules: Execute Code
We are trying to get the current date in the automation rules in Odoo 17 using code. In the comments section it's mentioned that we can use python datetime libraries, however it seems that today() or ...
0
votes
0
answers
49
views
Replying to Email in Sale Order Chatter Logs Me Out After "Fetch Now
I'm experiencing a strange issue with my Odoo setup (v17 ). Here's what happens:
I generate a "Send by email" from a Sale Order and send it out.
The recipient replies to the email.
I ...