Set only periods or dates on the same line for general ledger context

Those fields may become invisible so they should not have any other field next
to them for when they become invisible.
This commit is contained in:
Cédric Krier
2024-03-17 11:48:43 +01:00
parent 80ffcdea53
commit 372c212347
2 changed files with 11 additions and 7 deletions
@@ -1,22 +1,26 @@
<?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. -->
<form col="6">
<form>
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
<label name="journal"/>
<field name="journal" widget="selection"/>
<group col="-1" colspan="2" id="checkboxes">
<label name="posted"/>
<field name="posted"/>
</group>
<label name="start_period"/>
<field name="start_period"/>
<label name="end_period"/>
<field name="end_period"/>
<newline/>
<label name="from_date"/>
<field name="from_date"/>
<label name="to_date"/>
<field name="to_date"/>
<label name="journal"/>
<field name="journal" widget="selection"/>
</form>
@@ -2,7 +2,7 @@
<!-- 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="/form/field[@name='end_period']" position="after">
<xpath expr="//group[@id='checkboxes']" position="inside">
<label name="party_cumulate"/>
<field name="party_cumulate"/>
</xpath>