Move fields Product Views to Product eSale Views
This commit is contained in:
parent
dead7c10b6
commit
4f765b28d9
13
product.xml
13
product.xml
|
@ -3,17 +3,16 @@
|
|||
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="template_view_form">
|
||||
<record model="ir.ui.view" id="esale_template_view_form">
|
||||
<field name="model">product.template</field>
|
||||
<field name="type">form</field>
|
||||
<field name="inherit" ref="product.template_view_form"/>
|
||||
<field name="name">template_form</field>
|
||||
<field name="inherit" ref="product_esale.esale_template_view_form"/>
|
||||
<field name="name">esale_template_form</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="product_view_form">
|
||||
<record model="ir.ui.view" id="esale_product_view_form">
|
||||
<field name="model">product.product</field>
|
||||
<field name="inherit" ref="product.product_view_form"/>
|
||||
<field name="name">product_form</field>
|
||||
<field name="inherit" ref="product_esale.esale_product_view_form"/>
|
||||
<field name="name">esale_product_form</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This file is part galatea_esale module for Tryton.
|
||||
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook/page[@id='esale']"
|
||||
position="inside">
|
||||
<label name="add_cart"/>
|
||||
<field name="add_cart"/>
|
||||
</xpath>
|
||||
</data>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This file is part product_esale module for Tryton.
|
||||
<!-- This file is part galatea_esale module for Tryton.
|
||||
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook/page[@id="esale"]/notebook/page[@id="esale-general"]/field[@name="esale_sequence"]" position="after">
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This file is part esale_product module for Tryton.
|
||||
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/separator[@name='description']"
|
||||
position="before">
|
||||
<group colspan="6" id="esale">
|
||||
<separator id="esale" string="eSale" colspan="6"/>
|
||||
<label name="add_cart"/>
|
||||
<field name="add_cart"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
Loading…
Reference in New Issue