Move fields Product Views to Product eSale Views

This commit is contained in:
resteve 2014-10-01 23:05:52 +02:00
parent dead7c10b6
commit 4f765b28d9
4 changed files with 17 additions and 21 deletions

View File

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

View File

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

View File

@ -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=&quot;esale&quot;]/notebook/page[@id=&quot;esale-general&quot;]/field[@name=&quot;esale_sequence&quot;]" position="after">

View File

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