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
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
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
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
How to Create a Model in Odoo Without a Table in the Database There are cases when is needed to have a model that will not be represented by a table in the database. By default, Odoo creates a table for every Model and TransientModel , but, there is option ... Odoo 17 Odoo 18 Technical May 16, 2023 Tips
Where to Explore and Evaluate Odoo? There are few places online where you can do an overview of the system and try the different available apps. The first place is the official Odoo website. Here you can create an account with 15 days t... Functional Odoo 17 Odoo 18 May 15, 2023 Posts
How to Show the Total of a Numeric Column in a List View In case the total of a numeric column needs to be shown at the bottom of a list view, would be needed to include the attribute sum in the field’s XML definition. For example, if amount field needs t... Odoo 17 Odoo 18 Technical Apr 8, 2023 Tips