trytonpsk-purchase_discount/view/purchase_line_form.xml

38 lines
1.6 KiB
XML
Raw Permalink Normal View History

2020-04-16 00:51:32 +02:00
<?xml version="1.0"?>
<!-- The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>
2023-10-10 23:22:42 +02:00
<!-- <xpath expr="/form/notebook/page/label[@name='unit_price']"
2020-04-16 00:51:32 +02:00
position="before">
<label name="gross_unit_price"/>
<field name="gross_unit_price"/>
<label name="discount"/>
2023-10-10 23:22:42 +02:00
<group col="-1" id="discount">
<field name="discount" factor="100" xexpand="0"/>
<label name="discount" string="%" xalign="0.0" xexpand="1"/>
2020-04-16 00:51:32 +02:00
</group>
2023-10-10 23:22:42 +02:00
<field name="discount_amount" symbol="currency"/>
2020-04-16 00:51:32 +02:00
<label name="stock_quantity"/>
<field name="stock_quantity"/>
2023-10-10 23:22:42 +02:00
<separator name="product_description" colspan="4"/>
<field name="product_description" colspan="4"/>
</xpath> -->
<xpath expr="//label[@name='unit_price']" position="before">
<label name="base_price"/>
<field name="base_price" symbol="currency"/>
<label id="discount" string="Discount"/>
<group col="-1" id="discounts">
<group col="-1" id="discount_rate">
<field name="discount_rate" factor="100" xexpand="0"/>
<label name="discount_rate" string="%" xalign="0.0" xexpand="1"/>
</group>
<field name="discount_amount" symbol="currency"/>
<!-- <separator name="product_description" colspan="4"/>
<field name="product_description" colspan="4"/> -->
</group>
<!-- <label name="stock_quantity"/>
<field name="stock_quantity"/> -->
<newline/>
2020-04-16 00:51:32 +02:00
</xpath>
</data>