In this video, we will discuss How to add a context and domain in odoo15. The context in Odoo is a part of the environment of a record set.
#odoo15developmentvideos
Video Contents
--------------------------
00:05 Introduction
00:40 Adding a domain
03:15 Adding a context
It is basically a python dictionary that carries the session data. This data can be used on both the client-side user interface and also the ORM business logic in the case of the server-side.
So most importantly we can use the context to pass the specific data to a function in odoo. You may have seen that almost all methods in odoo use a context parameter. #odoo15technicaltutorials
Odoo domain is used to select records from a model or database table. 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.
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. #odoo15tutorials
Connect With Us:
➡️Website: https://www.cybrosys.com/
➡️Email : [email protected]
➡️Twitter: / cybrosys
➡️LinkedIn: / cybrosys
➡️Facebook: / cybrosystechnologies
➡️Instagram: / cybrosystech
➡️Pinterest: / cybrosys
Watch video How to Add a Context and Domain in Odoo 15 | What Is a Context in Odoo | Odoo Development Tutorials online, duration hours minute second in high quality that is uploaded to the channel Cybrosys Technologies 24 February 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,236 times and liked it 8 visitors.