KTree

Blog

Blog

Page 1 of 23

ChatGPT Image Apr 30, 2025, 01_20_32 PM (1)
Blog

Creating Sequences Dynamically for documents, When a Company Is Created in Odoo 18

In Odoo, sequences are used to generate unique identifiers for various documents such as orders, invoices, and quotations. While Odoo allows you to manually configure sequences, it’s often necessary to

ChatGPT Image Apr 30, 2025, 01_04_10 PM (1)
Blog

Multithreading in Odoo18: Running Background Tasks Efficiently

Introduction Odoo operates in a single-threaded environment, meaning that all processes execute sequentially. However, some operations, such as long-running computations, API calls, and large data imports, can block the system

ChatGPT Image Apr 30, 2025, 01_02_22 PM (1)
Blog

Creating Custom Pages in Odoo 18 Using Controllers and XML

Introduction Odoo provides a powerful framework for creating custom web pages through a combination of controllers (Python) and templates (XML). This article demonstrates how to create a custom web form

ChatGPT Image Apr 30, 2025, 12_57_00 PM (1)
Blog

Preventing Delivery Creation in Odoo18 Sale Orders Using Context

Understanding the Default Behavior: In Odoo, the default behavior upon confirming a sale order is the automatic creation of a delivery order (picking) for the associated products. This process is

DALL·E 2025-03-04 11.16.08 - An illustrative concept of an Odoo 18 OWL Framework tutorial focusing on building a product color selector for beginners. The image should depict an O
Blog

Odoo 18 OWL Framework Tutorial: Building a Product Color Selector Beginners Guide

OWL (Odoo Web Library) is Odoo's modern web framework for building user interface components. It's a lightweight, component-based framework that provides:

DALL·E 2025-02-06 12.50.53 - A professional and modern infographic titled 'Bulk Updating Sale Order Status Based on Customer in Odoo 17 ERP'. The image should depict a structured
Blog

Bulk Updating Sale Order Status Based on Customer in Odoo 17 ERP

In Odoo, we can enhance sales order management by adding a menu that allows bulk updating of sale order states based on the selected customer. This feature simplifies order processing by fetching all orders/ quotations for a customer and enabling bulk confirmation of orders. This also can be used for any other action that you want to perform in bulk for Sales orders.

DALL·E 2025-02-06 12.46.54 - A professional and modern infographic titled 'Changing Sale Order State via QR Code Scan in Odoo 17'. The image should include a structured flow illus
Blog

Changing Sale Order State via QR Code Scan in Odoo 17

In this approach, we leverage Odoo's controller functionality to establish a connection between a URL and a webpage.

DALL·E 2025-02-06 12.39.30 - A professional and modern infographic titled 'How to Display Computed Fields in a Tree View in Odoo 18 ERP with a Real-Life Example'. The image should
Blog

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.

DALL·E 2025-02-06 12.34.51 - A professional and modern infographic illustrating 'How to Add Tags Filter in Odoo ERP Sales Reporting with SQL Query Enhancements'. The image should
Blog

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.

OIG1.QMQuJ9u
Blog

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.

OIG1.aFuvdyU5oG
Blog

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.

OIG3.YUcmWCx2s_NMS (1)
Blog

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