[FIX] l10n_cn: move china city data into separate module

Changes made at #23879 changed the dependency of l10n_cn to include a large
list of cities.
Move to a different module to make the l10n_cn more lightweight.

Closes #26592
This commit is contained in:
jeffery CHEN fan
2018-09-14 16:06:41 +02:00
committed by Martin Trigaux
parent 9c77066f34
commit c3f0915b2b
5 changed files with 28 additions and 6 deletions
+5 -6
View File
@@ -15,18 +15,17 @@
'maintainer': 'jeff@osbzr.com',
'website': 'http://openerp-china.org',
'description': """
Include those data/包含以下数据
===============================
Includes the following data for the Chinese localization
========================================================
Account Type/科目类型
Account Type/科目类型
State Data/省份数据
State Data/省份数据
""",
'depends': ['base', 'account', 'l10n_multilang','base_address_city'],
'depends': ['base', 'account', 'l10n_multilang'],
'data': [
'data/res_country_state_data.xml',
'data/res_city_data.xml',
'data/account_account_type_data.xml',
'data/account_tax_group_data.xml',
],
+2
View File
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
+21
View File
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (C) 2018-now jeffery9@gmail.com
{
'name': 'China - City Data',
'version': '1.8',
'category': 'Localization',
'author': 'Jeffery Chen Fan<jeffery9@gmail.com>',
'description': """
Includes the following data for the Chinese localization
========================================================
City Data/城市数据
""",
'depends': ['l10n_cn','base_address_city'],
'data': [
'data/res_city_data.xml',
],
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B