mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix chinese
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
'data': [
|
||||
'views/res_partner_category_views.xml',
|
||||
'views/res_partner_views.xml',
|
||||
'data/ir_value_data.xml',
|
||||
'data/ir_default_data.xml',
|
||||
'data/ir_sequence_data.xml',
|
||||
'data/base_data.xml',
|
||||
'data/res_currency_data.xml',
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- Product -->
|
||||
<record id="app_product_template_form_view" model="ir.ui.view">
|
||||
<field name="name">app.product.template.form</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='categ_id']" position="attributes">
|
||||
<!-- Add your fields or attributes here -->
|
||||
<attribute name="widget">ztree_select</attribute>
|
||||
<attribute name="ztree_parent_key">parent_id</attribute>
|
||||
<attribute name="ztree_expend_level">2</attribute>
|
||||
<attribute name="limit">16</attribute>
|
||||
<attribute name="order">name</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="app_product_category_form_view" model="ir.ui.view">
|
||||
<field name="name">app.product.category.form</field>
|
||||
<field name="model">product.category</field>
|
||||
<field name="inherit_id" ref="product.product_category_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<!-- Product -->
|
||||
<record id="app_product_template_form_view" model="ir.ui.view">
|
||||
<field name="name">app.product.template.form</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='categ_id']" position="attributes">
|
||||
<!-- Add your fields or attributes here -->
|
||||
<attribute name="widget">ztree_select</attribute>
|
||||
<attribute name="ztree_parent_key">parent_id</attribute>
|
||||
<attribute name="ztree_expend_level">2</attribute>
|
||||
<attribute name="limit">16</attribute>
|
||||
<attribute name="order">name</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="app_product_category_form_view" model="ir.ui.view">
|
||||
<field name="name">app.product.category.form</field>
|
||||
<field name="model">product.category</field>
|
||||
<field name="inherit_id" ref="product.product_category_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
|
||||
<xpath expr="//field[@name='parent_id']" position="attributes">
|
||||
<!-- Add your fields or attributes here -->
|
||||
<attribute name="widget">ztree_select</attribute>
|
||||
<attribute name="ztree_parent_key">parent_id</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='parent_id']" position="attributes">
|
||||
<!-- Add your fields or attributes here -->
|
||||
<attribute name="widget">ztree_select</attribute>
|
||||
<attribute name="ztree_parent_key">parent_id</attribute>
|
||||
</xpath>
|
||||
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -51,7 +51,10 @@
|
||||
* 税金模板
|
||||
|
||||
""",
|
||||
'depends': ['l10n_cn'],
|
||||
'depends': [
|
||||
'account',
|
||||
'l10n_cn',
|
||||
],
|
||||
'images': ['static/description/banner.png'],
|
||||
'data': [
|
||||
'views/account_account_views.xml',
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<field name="inherit_id" ref="account.view_account_search"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group" position="inside">
|
||||
<filter string="Group" domain="" context="{'group_by':'group_id'}"/>
|
||||
<filter string="Group" name="accountgroup" domain="" context="{'group_by':'group_id'}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user