line: rec_name with quantity, optimize get_counterpart_values(),

splitline: rec_name with quantity, optimize list/form, add tests
This commit is contained in:
Frederik Jaeckel 2023-01-21 18:46:00 +01:00
parent a397fe22a2
commit 03c552a29c
6 changed files with 927 additions and 22 deletions

View file

@ -7,10 +7,13 @@ full copyright notices and license terms. -->
<xpath expr="/form/field[@name='rate_2nd_currency']" position="after">
<label name="quantity" />
<field name="quantity" symbol="quantity_uom"/>
<label name="factor_2nd_uom"/>
<field name="factor_2nd_uom"/>
<field name="quantity_digits"/>
<newline/>
<label name="quantity_2nd_uom"/>
<field name="quantity_2nd_uom" symbol="quantity2nd"/>
<label name="factor_2nd_uom"/>
<field name="factor_2nd_uom"/>
</xpath>
</data>

View file

@ -4,11 +4,9 @@ The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. -->
<data>
<xpath expr="/tree/field[@name='currency2nd']" position="after">
<field name="quantity"/>
<field name="quantity_uom"/>
<field name="quantity_2nd_uom"/>
<field name="quantity2nd"/>
<xpath expr="/tree/field[@name='amount_2nd_currency']" position="after">
<field name="quantity" symbol="quantity_uom"/>
<field name="quantity_2nd_uom" symbol="quantity2nd"/>
</xpath>
</data>