去掉产品form重复的字段
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<field name="model">product.template</field>
|
<field name="model">product.template</field>
|
||||||
<field name="inherit_id" ref="sf_sale.view_product_template_form_inherit_sf"/>
|
<field name="inherit_id" ref="sf_sale.view_product_template_form_inherit_sf"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page[@name='general_information']/group/group[@name='group_standard_price']/field[@name='barcode']" position="after">
|
<xpath expr="//page[@name='general_information']/group/group[@name='group_standard_price']/field[@name='product_tag_ids']" position="after">
|
||||||
<field name="model_id" readonly="1"/>
|
<field name="model_id" readonly="1"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
|
|||||||
@@ -360,10 +360,10 @@
|
|||||||
<field name="categ_id" position="replace">
|
<field name="categ_id" position="replace">
|
||||||
<field name='categ_id' invisible="1"/>
|
<field name='categ_id' invisible="1"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="product_tag_ids" position="after">
|
<!-- <field name="product_tag_ids" position="after">
|
||||||
<field name="default_code" attrs="{'invisible': [('product_variant_count', '>', 1)]}"/>
|
<field name="default_code" attrs="{'invisible': [('product_variant_count', '>', 1)]}"/>
|
||||||
<field name="barcode" attrs="{'invisible': [('product_variant_count', '>', 1)]}"/>
|
<field name="barcode" attrs="{'invisible': [('product_variant_count', '>', 1)]}"/>
|
||||||
</field>
|
</field> -->
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
<record id="sale.product_template_action" model="ir.actions.act_window">
|
<record id="sale.product_template_action" model="ir.actions.act_window">
|
||||||
|
|||||||
Reference in New Issue
Block a user