Add special prices in product esale view (extra depend)

This commit is contained in:
resteve 2015-05-06 18:00:37 +02:00
parent f1fb815b3b
commit 22183d6502
3 changed files with 22 additions and 0 deletions

View File

@ -10,4 +10,11 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
<field name="name">template_form</field>
</record>
</data>
<data depends="product_esale">
<record model="ir.ui.view" id="esale_template_view_form">
<field name="model">product.template</field>
<field name="inherit" ref="product_esale.esale_template_view_form"/>
<field name="name">esale_template_form</field>
</record>
</data>
</tryton>

View File

@ -3,6 +3,8 @@ version=3.4.0
depends:
product_price_list
sale_shop
extras_depend:
product_esale
xml:
shop.xml
product.xml

View File

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!-- This file is part product_special_price 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;prices&quot;]/field[@name=&quot;cost_price&quot;]" position="after">
<label name="special_price"/>
<field name="special_price"/>
<label name="special_price_from"/>
<field name="special_price_from"/>
<label name="special_price_to"/>
<field name="special_price_to"/>
</xpath>
</data>