States or provinces should not be part of base_data.xml

Bug #338055 reported by Luis Falcon - Thymbra
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Won't Fix
Wishlist
Unassigned
Trunk
Won't Fix
Wishlist
Unassigned

Bug Description

States or provinces should be part of the localization effort for each country (l10n_xx) , and they should not be included in the main base_data.xml file.

Currently some country states are listed. This makes it hard to maintain and translate, as well as making an unnecessary large table and xml file.

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

I agree, we should planify this in trunk, not in stable. Take care about migrations.
I propose to create a module: base_state. Not in l10n... because you may need the states of every country, either if you install only one chart of account.

Changed in openobject-addons:
importance: Undecided → Wishlist
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Fabien, I agree you may need states for every country, but probably not all of them.
Why not split l10n modules into several sub-modules like :
- l10n_fr_accounting = French chart of accounts
- l10n_fr_bank = French standards for bank id slips (RIB)
- l10n_fr_city = cities of France
- l10n_fr_states = regions and departments in France
- l10n_fr_mail = mailing standards for French partners (don't write the state in the postal address, postal code before city etc.)
- so on...
- l10n_fr = all of the above
This way, if you do business in France and have Spanish customers you can install l10n_fr and l10n_es_states.

Revision history for this message
Jan Verlaan (jan-verlaan) wrote :

And what to do when having customers around the world? Have to install every l10n_xx_xxxx module?
Also the module overview list will grow extra-ordinary.
Better to have one module that will install all countries with their states. There are open source listings available to populate the database. Start with filling the country, search in background the belonging states/regions/departments where user can choose from if needed.
Better to delete unnecessary countries if one finds the table to large, then to fill every country apart.
Just m2c

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

Hello,

I mark as "won't fix" because it's not a bug.
Most wishlists will be replanified for v6.1 or further, but I close this one because t's not a bug and will not be processed by our bug team.

Thanks for the idea.

Changed in openobject-addons:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.