Add new and hot fields in eSale View Tree

This commit is contained in:
resteve 2014-10-09 16:22:30 +02:00
parent dd5324d43f
commit 4758990167
2 changed files with 14 additions and 1 deletions

View File

@ -5,10 +5,14 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
<data>
<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_esale.esale_template_view_form"/>
<field name="name">esale_template_form</field>
</record>
<record model="ir.ui.view" id="esale_template_view_tree">
<field name="model">product.template</field>
<field name="inherit" ref="product_esale.esale_template_view_tree"/>
<field name="name">esale_template_tree</field>
</record>
<record model="ir.ui.view" id="esale_product_view_form">
<field name="model">product.product</field>
<field name="inherit" ref="product_esale.esale_product_view_form"/>

View File

@ -0,0 +1,9 @@
<?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="/tree/field[@name=&quot;esale_sequence&quot;]" position="after">
<field name="esale_new"/>
<field name="esale_hot"/>
</xpath>
</data>