Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 282 |
Technical Name |
contacts_advanced_countries |
Website | http://www.codedonostia.com |
Add features to countries and states
Filter countries by Active/Inactive, and use them in Country/State dependant dropdowns
Some Features:
Countries and states can have Active / Inactive status now.
This new status functionality can be seen in list views, and you can use the ACTION dropdown to activate or deactivate selected items.
There is a built-in javscript function, that will fill your country and state dropdowns (html 'select' in Website) only with your active countries and states, and only with states belonging to selected country.
Use and Configuration:
Activation and deactivation:
Activating or deactivating a country means that its states will be activated or deactivated as well. Afterwards, you can deactivate states, but be aware, activating or deactivating that country will force the change in states again.
Country / States dependant dropdowns in Website:
Go to Contacts -> Localisation -> Adv. Countries Config. There you will find inputs to set the 'name' attribute of the dropdown list where you need the feature to work.
If you leave them empty, the feature will do nothing.
Here in config, you can also select wich of your active countries will be selected by default.
Please log in to comment on this module