first commit

This commit is contained in:
root
2026-03-14 09:42:12 +00:00
commit 0adbd20c2c
10991 changed files with 1646955 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?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="//label[@name='unit_price']" position="before">
<label name="base_price"/>
<field name="base_price"/>
<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"/>
</group>
</xpath>
</data>

View File

@@ -0,0 +1,12 @@
<?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="before">
<field name="base_price" optional="1"/>
<field name="discount_rate" factor="100" optional="1">
<suffix name="discount_rate" string="%"/>
</field>
<field name="discount_amount" optional="1"/>
</xpath>
</data>