mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix 地址格式,要不然在网站上报错
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
{
|
||||
'name': 'odoo中国版,中文本土化套件,中国会计基础,Odoo Chinese localization Enhance All in One',
|
||||
'version': '18.0.24.12.19',
|
||||
'version': '18.0.24.12.20',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.odooai.cn',
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<!-- Country -->
|
||||
<record id="base.cn" model="res.country">
|
||||
<field name="enforce_cities" eval="True"/>
|
||||
<field name="address_format" eval="'%(country_name)s%(state_name)s%(city)s%(street)s\n%(street2)s'"/>
|
||||
<field name="address_format" eval="'%(country_name)s%(state_name)s%(city)s%(street)s\n%(street2)s,%(zip)s'"/>
|
||||
<field name="address_view_id" ref="app_base_chinese.app_view_partner_form_chinese"/>
|
||||
</record>
|
||||
<function model="res.country" name="write" context="{'lang': 'zh_CN'}">
|
||||
|
||||
Reference in New Issue
Block a user