Merge branch '18.0' of github.com:guohuadeng/app-odoo into 18.0

This commit is contained in:
Chill
2024-12-20 18:01:51 +08:00
4 changed files with 13 additions and 2 deletions

View File

@@ -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',

View File

@@ -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'}">

View File

@@ -75,9 +75,11 @@
'app_odoo_customize/static/src/js/ribbon.js',
'app_odoo_customize/static/src/js/dialog.js',
'app_odoo_customize/static/src/js/base_import_list_renderer.js',
'app_odoo_customize/static/src/js/base_import_list_renderer.js',
'app_odoo_customize/static/src/webclient/*.js',
'app_odoo_customize/static/src/webclient/user_menu.xml',
'app_odoo_customize/static/src/xml/res_config_edition.xml',
'app_odoo_customize/static/src/xml/base_import.xml',
],
},
'pre_init_hook': 'pre_init_hook',

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<!-- todo: 当前无效-->
<!-- <t t-inherit="base_import.ImportAction" t-inherit-mode="extension" owl="1">-->
<!-- <xpath expr="//DocumentationLink" position="attributes">-->
<!-- <attribute name="path">'https://www.odooai.cn/documentation/16.0/applications/general/export_import_data.html'</attribute>-->
<!-- </xpath>-->
<!-- </t>-->
</templates>