Want to Learn About Technology?

Our technology blog provides valuable insights and information on the latest technological advancements, whether you are an industry expert or simply curious, our blog is the perfect place to stay informed and engaged.

How to Display Computed Fields in a Tree View in Odoo 18 ERP with a Real-Life Example

How to Display Computed Fields in a Tree View in Odoo 18 ERP with a Real-Life Example

In this article, we’ll demonstrate how to display computed fields in a tree view in Odoo using a real-life scenario. Let’s say you want to display the tags from sales orders in the respective invoices’ tree view. This can help your finance team quickly identify the context of invoices without navigating back to the sales order.To achieve this, we will define a computed field in the account.move model (Invoice model) that fetches related sales order tags and displays them in the invoice tree view.

Define Access Rights for the Model

Define Access Rights for the Model

In your Odoo custom module, create a security folder and add a file named ir.model.access.csv. This file is required to manage access rights for the model.

Execute a Python Method on Button Click in Odoo 18

Execute a Python Method on Button Click in Odoo 18

we will demonstrate how to update a student’s department using a wizard form in Odoo. The wizard will allow the user to input a new department name and apply the change to the selected student’s record upon clicking a button.

Calling a Odoo 18 Wizard from a Menu

Calling a Odoo 18 Wizard from a Menu

What is an Odoo Wizard? A wizard in Odoo is a popup window primarily used to perform user-defined actions. It operates using a Transient Model, which means the data it handles is stored temporarily and is automatically deleted from the database at regular intervals....