Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
0 votes
0 answers
69 views

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 ...
ASP's user avatar
  • 99
3 votes
0 answers
83 views

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: ...
H 19's user avatar
  • 31
0 votes
1 answer
71 views

When I add a new field in my .py class and then add to XML view, when upgrade the module Odoo says the field does not exist in the model XXX in Python class MyClass(models.Model): _name = 'MyClass'...
Cristian Lopez's user avatar
0 votes
2 answers
135 views

I'd like to know how to automatically set a checkbox in the settings using a post_init_hook, I'm working on version 18 of Odoo. I am installing a custom module and I want to have some checkboxes (like ...
Rui Geraldes's user avatar
2 votes
1 answer
84 views

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 ...
Shafin Ahmed's user avatar
1 vote
1 answer
108 views

I am developing a odoo18 custom payment provider. After a successful transaction and return response to odoo. When it comes to update the transaction status to done using tx._set_done() this only ...
Syed Mushahid's user avatar
1 vote
1 answer
97 views

I'm trying to implement lazy loading of videos in a dashboard view in Odoo 18. My goal is to: Show a thumbnail (poster) initially Avoid loading/buffering any video on page load Load and play the video ...
Vikram Dongare's user avatar
0 votes
1 answer
118 views

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 ...
Shohjaxon Qodiraliyev's user avatar
1 vote
1 answer
210 views

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 ...
Magician's user avatar
  • 2,157
0 votes
1 answer
70 views

I am trying to figure out how to extend the js class of the native module payment_paypal, so that the PayLater option, that i have activated in PayPal get activated. In the native js code in /addons/...
S Bonnet's user avatar
  • 1,720
1 vote
1 answer
634 views

I tried to create a Docker container for my Odoo application. I wanted to have a customized password so I used this docker compose sample from Hub Docker for Odoo but changing the version to Odoo 18 ...
Sheenergizer's user avatar
0 votes
1 answer
71 views

In odoo18, i have customized the view of the frontend page /my/account by inheriting the view "portal.portal_my_details" to add a custom field wrapped into an HTML textarea. I have added the ...
S Bonnet's user avatar
  • 1,720
0 votes
1 answer
102 views

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='...
Magician's user avatar
  • 2,157
0 votes
1 answer
63 views

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="...
Magician's user avatar
  • 2,157
0 votes
0 answers
49 views

I want to create a scheduled action in Odoo for archiving old job posts but unfortunately, I got some errors: Here is my XML code for the action: <odoo> <data noupdate="1"> ...
JrStan's user avatar
  • 1

15 30 50 per page