first commit
This commit is contained in:
15
modules/sale_secondary_unit/view/product_customer_form.xml
Normal file
15
modules/sale_secondary_unit/view/product_customer_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='code']" position="after">
|
||||
<label name="sale_secondary_uom"/>
|
||||
<field name="sale_secondary_uom"/>
|
||||
<group id="sale_secondary_uom" col="-1" colspan="2">
|
||||
<label name="sale_secondary_uom_factor" string="Factor:"/>
|
||||
<field name="sale_secondary_uom_factor"/>
|
||||
<label name="sale_secondary_uom_rate" string="Rate:"/>
|
||||
<field name="sale_secondary_uom_rate"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
16
modules/sale_secondary_unit/view/product_template_form.xml
Normal file
16
modules/sale_secondary_unit/view/product_template_form.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//page[@id='customers']//field[@name='sale_uom']" position="after">
|
||||
<newline/>
|
||||
<label name="sale_secondary_uom"/>
|
||||
<field name="sale_secondary_uom"/>
|
||||
<group id="sale_secondary_uom" col="-1" colspan="2">
|
||||
<label name="sale_secondary_uom_factor" string="Factor:"/>
|
||||
<field name="sale_secondary_uom_factor"/>
|
||||
<label name="sale_secondary_uom_rate" string="Rate:"/>
|
||||
<field name="sale_secondary_uom_rate"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/sale_secondary_unit/view/sale_line_form.xml
Normal file
15
modules/sale_secondary_unit/view/sale_line_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='amount']" position="after">
|
||||
<separator name="secondary_unit" colspan="4"/>
|
||||
<label name="secondary_quantity" string="Quantity:"/>
|
||||
<field name="secondary_quantity"/>
|
||||
<label name="secondary_unit" string="Unit:"/>
|
||||
<field name="secondary_unit"/>
|
||||
<label name="secondary_unit_price" string="Unit Price:"/>
|
||||
<field name="secondary_unit_price"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/sale_secondary_unit/view/sale_line_tree.xml
Normal file
9
modules/sale_secondary_unit/view/sale_line_tree.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='unit_price']" position="after">
|
||||
<field name="secondary_quantity" symbol="secondary_unit" optional="1"/>
|
||||
<field name="secondary_unit_price" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/sale_secondary_unit/view/stock_move_list.xml
Normal file
8
modules/sale_secondary_unit/view/stock_move_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='quantity']" position="after">
|
||||
<field name="secondary_quantity" symbol="secondary_unit"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user