Use Domain Filtering to Better Manage Addresses in Odoo

How to make a simple custom modification that uses domain filtering to restrict invoice and shipping addresses to only the ones assigned to the company

This video is designed to address a frequently requested customization. When entering a Sales Order, by default Odoo allows you to pick any shipping or invoicing address from any customer in the company. While this may be the desired behavior for some companies, many companies wish to limit the addresses to only those that are assigned to the company. This developer video shows you how to make a simple custom modification that uses domain filtering to restrict invoice and shipping addresses to only the ones assigned to the company.

LEARNING THE POWER OF DOMAIN FILTERING AND ODOO MODELS

Odoo's powerful ORM (Object Relationship Model) framework allows you to create powerful applications often without writing very much code. This video is a perfect example of how Odoo's framework makes it relatively easy to restrict records within a given model based upon other settings within that model. In this case you learn how to limit the shipping and invoice addresses to only the address records that are assigned to that customer as opposed to any customer in the database.

ESSENTIAL ODOO DEVELOPMENT TRAINING THAT YOU MUST KNOW

After many years of Odoo consulting restricting data set and filtering records to meet client requirements is one of the most common customization requests. It's safe to say that any customization effort in Odoo will most likely involve using domains to filter records. Often times by clever use of domains you can quickly solve problems and make Odoo far more friendly for a specific industry or specialization.

MANY APPLICATIONS FOR ODOO CUSTOMIZATION USING FILTERS

Like most Odoo Class videos this video is designed with a specific business requirement and a real world case study in mind. Another similar usage of this method of restricting data using the Odoo framework is to restrict the products on a purchase order to only the products assigned to a specific supplier. Once again by default Odoo will let you pick any product from your entire product table rather than just the products assigned to that supplier. Once you master the use of domains you will be well on your way to becoming an effective Odoo developer.


Your Instructor


Diogo Duarte
Diogo Duarte

Diogo Duarte has a degree in Electrical Engineering and Computer Science with 20 years of experience in several industries, both functional and technical. He is an Odoo developer and Project Manager across the EU, the USA, and AU and the Head of Technical Consulting for OdooClass since 2014.


Diogo is an expert in all things Odoo and has been consulted on hundreds of Odoo projects in nearly every industry sector. If you need a problem solved with Odoo, Diogo can find you a solution.

Diogo is also the creator of much of the training content available on the OdooClass website and has been performing the weekly and monthly workshops with subscribers around the globe since 2014.

Course Curriculum


  Lecture
Available in days
days after you enroll

Frequently Asked Questions


When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Get started now!