Methods for Searching and Filtering Records in Odoo In Odoo can be found multiple different methods for filtering and searching records. Each of them is designed with their own uniqueness which makes it more useful in certain cases than others, even th... Odoo 17 Odoo 18 Technical Jan 1, 2024 Posts
How to Update Many2many and One2many Fields in Odoo Many2many and One2many fields in Odoo require a specific syntax for manipulating related data. The instructions mainly consist of 3 elements added in a tuple, where each of the elements has a special ... Odoo 17 Odoo 18 Technical Dec 11, 2023 Posts
How to Change the Priority of an Existing View In the post The importance of correctly setting priority on inherited views we have already discussed the importance of the priority field in the inherited views and why it needs to have the right v... Odoo 17 Odoo 18 Technical Dec 4, 2023 Tips
How to Handle Multiline Content with Char, Text, and HTML Fields In case the content in a Char field needs to be split into multiple lines and represented like that in the view the new line character \n or HTML line break <br> tag are not supported in this ty... Odoo 17 Odoo 18 Technical Nov 20, 2023 Tips
The Technical Menu in Odoo The technical menu can be found on the settings page and it is visible only in developer mode. The menu contains more than 16 sections, some of which are visible only if a particular application is in... Functional Odoo 17 Odoo 18 Technical Nov 13, 2023 Posts
The Importance of Correctly Setting Priority on Inherited Views The sequence of loading the views in Odoo is critical in the inheritance mechanism. The changes in the views are always applied following their order by priority and ID . This means the views with ... Odoo 17 Odoo 18 Technical Oct 30, 2023 Tips
How to Create a New QWeb Template Using an Existing One as a Base When creating a new QWeb template in Odoo that is very similar to an existing one, which still needs to be left unchanged, there is no need to rewrite the whole code from the existing template. Instea... Odoo 17 Odoo 18 Technical Sep 4, 2023 Tips
How to Generate a Configuration File in Odoo After installing a new instance of Odoo, in most of the cases would be needed to generate a new configuration file. That can be done with the following command line: python odoo/odoo-bin -c path-to-co... Odoo 17 Odoo 18 Technical May 18, 2023 Tips
CSS Not Loaded in QWeb Reports In case the CSS is not loaded in the QWeb Reports, few System Parameters that may solve the issue are following: The system parameter web.base.url need to have as value the system's domain, in ... Odoo 17 Odoo 18 Technical May 18, 2023 Tips
How to Upgrade All Installed Modules in Odoo In case we need to upgrade all installed modules in an Odoo instance, that can be done directly from the command line using the following command for Linux systems: python odoo/odoo-bin -c < path-to-c... Odoo 17 Odoo 18 Technical May 18, 2023 Tips
How to Check if a User Belongs to a Particular Group The method has_group in the model res.users is helpful for checking if a user belongs to a specific group. For example, if we need to check if a user is a salesman in the system, the code should l... Odoo 17 Odoo 18 Technical May 17, 2023 Tips
How to Index a Field in Odoo It is a good practice to create an index for the most searchable fields in the model. In that way, the database search performance can be significantly increased. However, should be careful not to add... Odoo 17 Odoo 18 Technical May 16, 2023 Tips