Dynamic Dropdown Widget: Example
A technical module to test web_widget_dropdown_dynamic.
auto_awesome What this module does
AI-generated from the code · Odoo 13.0Adds a demo screen that shows how dropdown lists can be built dynamically from other fields on the form. It is a technical example, not a business feature.
This is a demonstration module for developers and consultants who want to see the dynamic dropdown widget in action. It adds one menu entry, "web_widget_dropdown_dynamic Demo", which opens a simple form.
On that form you find three groups of fields: - Char field: a text area where you type one option per line, and a field whose dropdown is filled with those lines. - Int field: a minimum and a maximum number, and a field whose dropdown lists every whole number between them. - Selection field: a text area of options, and a field whose dropdown is filled from those lines.
In each case the dropdown choices are recalculated from the values you enter in the other fields, so changing the option list or the min/max immediately changes what can be picked. The data is stored in a temporary model, web.widget.dropdown.dynamic.example, so nothing is kept permanently.
There are no business rules, no emails, no scheduled jobs and no reports. The module only touches its own demo model and screen; it does not modify sales, stock, accounting or any other business area. Its purpose is to serve as a working reference for the underlying widget module.
Depends on
Menus it adds
Models and fields (1)
- web.widget.dropdown.dynamic.example · new modelname, int_field (Int field), char_field (Char field), int_field_max (Int field (max)), int_field_min (Int field (min)), selection_field (Selection field), char_field_options (Char field options), selection_field_options (Selection field options)
Text generated by AI (DeepSeek) from reading the Odoo 13.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: 2 confirmed, 7 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
No verified informationInstallation 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.