Country Flag Widget
by Alexandre Ma https://github.com/Alexmalab/OdooFrontendExtensions/tree/18.0/many2one_country_flag
Odoo
$ 0.11
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 49 |
Technical Name |
many2one_country_flag |
License | AGPL-3 |
Website | https://github.com/Alexmalab/OdooFrontendExtensions/tree/18.0/many2one_country_flag |
Versions | 17.0 18.0 |
Many2one Country Flag
Description
- A country flag field widget
many2one_country_flag
supports for form, list and kanban views, only support forMany2one
country field. - Using original image url showing on the country record to render the flag.
Usage example:
<field name="flag_country_id" widget="many2one_country_flag" options="{'hide_country_name':True}"/>
- option
hide_country_name
is default toFalse
.
Effect Preview:
form view
list view
kanban view
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Credits
Authors
- Alexandre Ma
Contributors
Copyright
The copyright of this module belongs to Alexandre Ma
Please log in to comment on this module