Files
tryton/modules/account_dunning_fee/view/dunning_fee_form.xml
T
Cédric Krier 14bc5d2a6c Use selection widget for journal fields
It is expected to have only a small number of journals.
But also it is uncommon to create of a new journal from a form.
So it provides a better user experience to use a selection widget.
2023-08-06 00:34:16 +02:00

22 lines
717 B
XML

<?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>
<label name="name"/>
<field name="name"/>
<label name="active"/>
<field name="active"/>
<label name="product"/>
<field name="product"/>
<label name="journal"/>
<field name="journal" widget="selection"/>
<label name="compute_method"/>
<field name="compute_method"/>
<newline/>
<label name="percentage"/>
<group col="2" id="percentage">
<field name="percentage" factor="100" xexpand="0"/>
<label name="percentage" string="%" xalign="0.0" xexpand="1"/>
</group>
</form>