Default Values in Context and Potential Issues When passing a default value for a field via context , you need to consider that this value can be passed on to models initially not planned for. For example, when passing the product_qty as a defa... Odoo 17 Technical Dec 5, 2024
How to Change the Text Color for a Column in a List View In Odoo it is possible to change the color or text style of a column in a list view using the “decoration” attributes. The syntax for them is decoration-<style> where the style can be one of the fol... Odoo 17 Technical Mar 11, 2024 Tips
How to Make Images Partially Overlap in Odoo Website Starting from Odoo 16, it is possible to make an image partially overlap another image on the website. To enable this feature, the block's layout must be set to “Grid.” This can be done by enabling Ed... Functional Odoo 17 Odoo 18 Website Feb 26, 2024 Tips
How to Customize Field Definitions by Group in Odoo View In everyday business cases, there are a lot of situations where a particular field needs to have different attributes or attribute values based on different access groups. This type of case is possibl... Odoo 17 Odoo 18 Technical Feb 12, 2024 Tips
How to Schedule a Blog Post for Publishing in Odoo Having a “Schedule to Publish” functionality is essential for every blog platform. However, in Odoo this option is less prominent. While there is a clear “Published” toggle, the “Schedule to Publish” ... Functional Odoo 17 Odoo 18 Jan 29, 2024
How to Hide a Column in a List View A column in a list view can be hidden by using the attributes column_invisible or optional . The column_invisible attribute accepts a boolean value as True/False or 1/0 . Since this attribute ... Odoo 17 Odoo 18 Technical Jan 22, 2024 Tips
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
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
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
What is TransientModel in Odoo TransientModel is a model super-class that stores data in the database temporarily and it is automatically cleaned up on a defined period of time. The scheduled action to clean up the database, in... Odoo 17 Technical Oct 16, 2023
How to Hide Odoo Information Page from a Website Every website developed with Odoo comes by default with a publicly available page that lists all installed addons in the system. Here are two methods how to hide this page: 1. Deactivating the Templat... Functional Odoo 17 Sep 18, 2023
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