Rely on country.address_view_id instead of hacking the view on the fly. The address layout (street VS street_name street_number street_number2) depends now on the country of the user, not on the installed localisation. (it's now configurable per country) Unified street format to "Chaussee de Namur 40 - Appt 12"; the configurable ones where actually wrong by country. Allow street split without base_address_extended; all EDIs can now be used with or without base_address_extended. Merged base_address_city into base_address_extension, to avoid creating bridge modules for no reason. Uses city_id instead of city if the country of the user defines it AND if enforce_cities is set on this country. Improved post_init script for large databases. Split of street removed on res.company. (not required by any l10n) [IMP] l10n_cn_city,l10n_nl,l10n_cl,l10n_co,l10n_pe: base_address_extended improvements l10n_cn_city defined cities but did not provide a means to edit the city_id, so enforce_cities l10n_nl only requires street names and numbers and thus does not need to depend on base_address_extended l10n_cl should not depend on base_address_extended as none of the features are used l10n_pe improve the view l10n_co remove base_address_city dependency - move to l10n_co_edi closes odoo/odoo#81710 Related: odoo/enterprise#23108 Related: odoo/upgrade#3129 Signed-off-by: Laurent Smet <las@odoo.com>
26 lines
734 B
Python
26 lines
734 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
{
|
|
'name': 'Extended Addresses',
|
|
'summary': 'Add extra fields on addresses',
|
|
'sequence': '19',
|
|
'version': '1.1',
|
|
'category': 'Hidden',
|
|
'description': """
|
|
Extended Addresses Management
|
|
=============================
|
|
|
|
This module provides the ability to choose a city from a list (in specific countries).
|
|
|
|
It is primarily used for EDIs that might need a special city code.
|
|
""",
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'views/base_address_extended.xml',
|
|
'views/res_city_view.xml',
|
|
'views/res_country_view.xml',
|
|
],
|
|
'depends': ['base'],
|
|
'license': 'LGPL-3',
|
|
}
|