Add special prices in product esale view (extra depend)
This commit is contained in:
parent
f1fb815b3b
commit
22183d6502
|
@ -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>
|
||||
|
|
|
@ -3,6 +3,8 @@ version=3.4.0
|
|||
depends:
|
||||
product_price_list
|
||||
sale_shop
|
||||
extras_depend:
|
||||
product_esale
|
||||
xml:
|
||||
shop.xml
|
||||
product.xml
|
||||
|
|
|
@ -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="prices"]/field[@name="cost_price"]" 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>
|
Loading…
Reference in New Issue