In this approach, we leverage Odoo’s controller functionality to establish a connection between a URL and a webpage.
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.
How to Add Tags Filter in Odoo ERP Sales Reporting with SQL Query Enhancements
In this article, we’ll explore how to add a Tags Filter in the Sales Reporting feature of Odoo. The data in the Reporting tab is often retrieved through SQL queries based on selected filters. However, filtering by tags can lead to SQL query errors when the name field is used in both the sale.order and crm.tag tables.
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
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
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....