Skip to content
Advertisement

Tag: odoo

odoo PyCharm configuration / no module named ‘odoo’

I’m newbee in programming and I need some help. I have to work with PyCharm and Odoo, so my point is to configure PyCharm for Odoo debugging. First of all I made a module and a model, it perfectly work with database(i can see and check it). I want PyCharm not to highlight word ‘odoo’, ‘models’ and ‘fields’ by red

odoo domain filter many2many?

i’am added a car field in product template which related to the car model that contains all cars, also i’am work in multi compny, and i’am also added a many2many relation with car model, all i need is to filter the cars in product template and display all cars that i have been assign in the company this is my

What is the alternative of @api.one in Odoo 13?

Right now when I started coding on Odoo v13 I found that Odoo has been removed @api.one. What is the alternative of the @api.one in Odoo v13 ? Answer In odoo13 by default instance method will accept self as multi instance (multi-recordset). So for instance method, you should remove the @api.one and @api.multi decorator from your methods. For a single

Odoo. Hide some options in field selection

I have some selection field in my model. Here example: In some cases I need hide specific options in selection(or radio buttons). How I can do this properly? Below screen from base calendar module which can more explain about my problem. Thanks in advance. Answer I found the solution. First of all we need to create custom widget for FieldSelection.

Advertisement