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... 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... 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 ... 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 May 15, 2023
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... Technical Apr 8, 2023 Tips