This module is intendend to demonstrate and test the web_domain_field module.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Adds a demonstration screen where you pick a product category and then only products from that category can be chosen. It exists to show and test the dynamic product filtering feature.
This module adds a new screen called "Product Selection Example" under the Settings menu area. On that screen you first choose a product category, and the product field then only offers products belonging to that category.
- The product list is filtered automatically as soon as a category is selected, so you cannot pick a product from another category.
- If you change the category after a product was already chosen, the product is cleared automatically to keep the two fields consistent.
- The screen is available in list and form views, and access is limited to users with system administrator rights.
The module also creates its own small product list (separate from the standard product catalogue) used only for this demonstration, with a name, a reference code and a category. A few example products are loaded as demo data.
It touches the product.selection.example and product.demonstration models, and relies on the product category model product.category. No reports, emails or scheduled jobs are added.
Depends on
Menus it adds
Models and fields (2)
- product.demonstration · new modelname, categ_id, default_code
- product.selection.example · new modelproduct_id, product_id_domain, product_category_id
Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/web.
terminal Installation and usage
OCA documentation · Odoo 12.0Usage
Source · Odoo 12.0You can go to the menu Configuration==>Technical==>User Interface==>product Selection Example to see dynamic adaption of a domain in practice.
In practice the domain fields would be invisible. For test/demo purposes the field product_id_domain in this module is visible in the form view.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.