How to Add a Domain for a Field Dynamically Based on Another Field in Odoo15 | Odoo Technical Video – CBMS Odoo ERP

How to Add a Domain for a Field Dynamically Based on Another Field in Odoo15 | Odoo Technical Video – CBMS Odoo ERP

In this video, we are discussing How to add a domain for a field dynamically based on another field in odoo. Odoo domain is used to select records from a model or database table.
#odoo15developmentvideos

Video Contents
00:08 Introduction
01:00 Adding domain dynamically

It is a very common use case when you need to display a subset of all available records from an action, or to allow only a subset of possible records to be the target of a many2one relation.
#odoo15technicaltutorials

The way to describe these filters in Odoo is called a domain. It can be defined as a list of operations that are used to filter your data or for searching. Each condition in a domain contains a field name, operator, and value.

Connect With Us:

➡️Website:
➡️Email : info@cybrosys.com
➡️Twitter:
➡️LinkedIn:
➡️Facebook:
➡️Instagram:
➡️Pinterest:

#Add #Domain #Field #Dynamically #Based #Field #Odoo15 #Odoo #Technical #Video

Similar Posts

2 Comments

  1. avatar
    @mohamedsobh2626 says:

    hello,
    i had a problem with that
    class parent()
    field category_id many2one product.category
    field child_ids one2many

    class child ()
    field parent_id many2one
    field product many2one product.template

    in xml or py
    in need to filter the product to; select product from its category
    how to pass domain?

Leave a Reply

Your email address will not be published. Required fields are marked *