add splitline

This commit is contained in:
Frederik Jaeckel 2023-01-15 23:06:47 +01:00
parent 90fbfa3fde
commit b9b500624e
13 changed files with 299 additions and 27 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- This file is part of the cashbook-module from m-ds for Tryton.
<!-- This file is part of the cashbook-module from m-ds.de for Tryton.
The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. -->
<data>

16
view/split_form.xml Normal file
View file

@ -0,0 +1,16 @@
<?xml version="1.0"?>
<!-- This file is part of the cashbook-module from m-ds.de for Tryton.
The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. -->
<data>
<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/>
</xpath>
</data>

14
view/split_list.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!-- This file is part of the cashbook-module from m-ds.de for Tryton.
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>
</data>