mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
优化中文化
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
{
|
||||
'name': 'odoo中国版,中文本土化套件,中国会计基础,Odoo Chinese localization Enhance All in One',
|
||||
'version': '18.0.25.01.26',
|
||||
'version': '18.0.25.02.20',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.odooai.cn',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<!-- 默认user,使用write处理 -->
|
||||
<function model="res.users" name="write" context="{'lang': 'zh_CN'}">
|
||||
<function model="res.users" name="write" context="{'lang': 'zh_CN', 'active_test':0}">
|
||||
<value eval="[ref('base.default_user')]"/>
|
||||
<value model="res.users" eval="{
|
||||
'lang': 'zh_CN',
|
||||
@@ -10,7 +10,7 @@
|
||||
'name': '默认内部用户模板',
|
||||
}"/>
|
||||
</function>
|
||||
<function model="res.users" name="write" context="{'lang': 'zh_CN'}">
|
||||
<function model="res.users" name="write" context="{'lang': 'zh_CN', 'active_test':0}">
|
||||
<value eval="[ref('base.template_portal_user_id')]"/>
|
||||
<value model="res.users" eval="{
|
||||
'lang': 'zh_CN',
|
||||
@@ -19,7 +19,7 @@
|
||||
}"/>
|
||||
</function>
|
||||
<!-- 游客-->
|
||||
<function model="res.users" name="write" context="{'lang': 'zh_CN'}">
|
||||
<function model="res.users" name="write" context="{'lang': 'zh_CN', 'active_test':0}">
|
||||
<value eval="[ref('base.public_user')]"/>
|
||||
<value model="res.users" eval="{
|
||||
'lang': 'zh_CN',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<!--<xpath expr="//field[@name='type']" position="after">-->
|
||||
<!--<xpath expr="//field[@name='ref']" position="move"/>-->
|
||||
<!--</xpath>-->
|
||||
<xpath expr="//field[@name='function']" position="before">
|
||||
<xpath expr="//field[@name='vat']" position="before">
|
||||
<field name="short_name"/>
|
||||
</xpath>
|
||||
<!--res.partner客户,细节调整至 app_base_chinese_city 中处理 -->
|
||||
|
||||
Reference in New Issue
Block a user