12,875 questions
-1
votes
1
answer
43
views
In Odoo.sh production branch is not updating. How to fix Odoo.sh branch error?
You know I have built a website using Odoo custom module. I have published the site using Odoo.sh + Cloudflare. It was working fine, and I can access the site globally. But suddenly it's stopped ...
0
votes
0
answers
60
views
How to display and edit a One2many field in a form view as an embedded form, not a list?
I’m trying to model a one-to-one relationship between two models in Odoo.
My approach was to use a Many2one + One2many, but on the form view Odoo always displays the One2many field as a list instead ...
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 ...
1
vote
1
answer
87
views
DB corrupted in Odoo 13 [closed]
I have a running production instance with existing data in my production database. Recently, I encountered an error, and upon investigation, I discovered that some core modules were unexpectedly ...
3
votes
0
answers
81
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:
...
0
votes
1
answer
80
views
ODOO Field service Worksheet, how to solve indentation problem in the pdf
I'm using "Odoo 16.0+e (Enterprise Edition)" and I premise that I'm not a software engineer but in the past I successfully managed to modify the Qweb code that generates the invoices and the ...
1
vote
1
answer
117
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 ...
0
votes
0
answers
53
views
How to create chained selection fields in Odoo using API data?
I want to create chained selection fields in Odoo, where the value of one field depends on the value of another.
For example:
When I select a “Category”, it should call an API and load the
options ...
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 ...
0
votes
0
answers
138
views
Undetected chrome driver doesn't work in odoo model
I am trying to scrap a website from a model in odoo. It get executed using an action button.
I am using Docker to contain the app.
However the driver never worked for me, even with normal selenium so ...
2
votes
1
answer
53
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
79
views
Why Odoo custom module code changes are not reflected in website?
I’m building a website using a custom Odoo module. I created a hero section on the homepage, and I can see it correctly at localhost:8070.
The issue is that after making several changes and adding new ...
0
votes
1
answer
333
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
167
views
Hide the New button in the List view in Odoo 17
Community friends, I have a problem. I need to hide the new button in the list view (tree) in Odoo 17, but with the button hiding, I also need to hide the import option. I need to be able to leave the ...
0
votes
2
answers
119
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
187
views
Odoo 18 on Windows: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 on server startup
I'm setting up a development environment for Odoo 18 on a Windows machine. I've cloned the repository, created a virtual environment (venv), and successfully installed all dependencies from the ...
3
votes
1
answer
73
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 ...
2
votes
1
answer
84
views
How to add a CustomButton?
I'm running Odoo 18.0 on Ubuntu 24.04.
Tried lot of ways to add a custom button in the ControlButton section besides 'Action' button, I even fully copied a code from this yt video of version 18.0, yet ...
1
vote
1
answer
150
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 ...
1
vote
1
answer
81
views
In Odoo ORM, how non-abstract prototype inheritance work?
Just recently I've found that prototype inheritance in Odoo ORM also work with non-abstract parent class as witness in "ir.actions.*" and "event.booth". However, I've found it ...
3
votes
1
answer
110
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 ...
1
vote
1
answer
278
views
How to add custom OWL component to a form view?
i am trying to add a component to a from view of crm lead model. Here is what i tried.
*formrendere patch .js
import { Component ,onMounted,mount} from "@odoo/owl";
import { FormRenderer } ...
0
votes
0
answers
119
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
118
views
How to add multiple lines?
I am trying to add lines to Odoo pos order lines in pos_screen, but this only adds the first selected products somehow.
I am filtering selected orders from order.lines and copying all data from it. Is ...
0
votes
1
answer
86
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 ...
2
votes
0
answers
884
views
Trouble installing base_accounting_kit module for odoo 18 [closed]
This is the error im getting.
"Unable to install module "base_accounting_kit" because an external dependency is not met: External dependency qifparse not installed: No package metadata ...
1
vote
1
answer
203
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
55
views
How can I inject fields in ubl_bis3.xml files in Odoo 17?
We want to inject the following 3 fields in the generated electronic invoices ..ubl_bis3.xml files in Odoo 17 Community edition.
<cbc:ID> (bt13 = identifier of a referenced purchase order, ...
0
votes
1
answer
65
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", &...
0
votes
1
answer
141
views
Image Webp Import : PIL.UnidentifiedImageError: cannot identify image file [closed]
I'm trying import xlsx file into odoo (running inside a docker container) containing image url. Some of them is webp and whenever odoo try to import those webp image url, it got error :
Traceback (...
2
votes
1
answer
90
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
102
views
How to dynamically adjust the selection?
I've been trying to do these, but as I've browsed the answers, most of these problem ended up with deprecated one, or simply no solution.
job_id = fields.Many2one('inw_asset.job_orders', string='...
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="...
0
votes
1
answer
65
views
Creating fields in Odoo 17 that persist on removal of the addon
TL;DR: I want the ODOO ORM to act like it owns the field, but not the DB column.
Some time ago I bundled all my model extensions into an addon to simplify deployment and testing. One thing that ...
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:...
1
vote
1
answer
103
views
How to pass context to a report in odoo 15
i have this problem.
I want to set the lang to a report through the context like this:
from odoo import api, fields, models
class IncLoadUnloadMovement(models.TransientModel):
_name = 'inc.load....
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 ...
1
vote
1
answer
74
views
Error migrating custom module view from odoo15 to odoo16
I designed a module in Odoo 15 and now I am migrating it to Odoo 16. Throughout the migration, I have encountered a series of problems, but I have been able to solve them. This time, I have come ...
0
votes
0
answers
149
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
525
views
converting file to base64 in n8n to upload it to odoo
hello guys i've been struggling with this for the past 3 hours
with chatgpt and every ai out there
i used this code to convert my output fom a "download image from ultramsg" http node to ...
0
votes
0
answers
44
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 ...
1
vote
0
answers
64
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
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
1
answer
78
views
Issue with Locating groups_id Field in base.view_users_form for Odoo
I am encountering a persistent validation error while trying to customize the res.users form view in my custom module for Odoo 17 and 18. The error message is:
Validation Error
Error while parsing or ...
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 ...
0
votes
1
answer
50
views
Do not have enough right to access "tracking_value_ids" on Message (mail.message)
I made my own application, and I have my own set of users.
<odoo>
<!-- Module -->
<record model="ir.module.category" id="inw">
<field name=&...
2
votes
1
answer
213
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
21
views
is can't see the custom button i created in the header of the list in my module in odoo18 [duplicate]
i created a module and
this is my xml:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_product_list" model="ir.ui.view">
...
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 **/
...
0
votes
0
answers
73
views
How to link stock.picking to account.move (invoice) in Odoo 17
I'm working on an Odoo customization where I want to automatically create a stock.picking record when an account.move (invoice) is posted. After creating the stock.picking, I need to link it to the ...