Purchase form

This commit is contained in:
2026-07-24 16:22:34 +02:00
parent 914fecf3a0
commit 12d9b046d2

View File

@@ -63,6 +63,20 @@ this repository contains the full copyright notices and license terms. -->
col_widths="min-content,1fr,min-content,1fr">
<label name="product_origin"/>
<field name="product_origin"/>
<label name="tolerance_option"/>
<field name="tolerance_option"/>
</group>
<group id="purchase_commercial_terms_tolerance"
colspan="1" col="6" xalign="0" yalign="0"
col_widths="min-content,90px,min-content,90px,min-content,1fr">
<label name="tol_min"/>
<field name="tol_min"/>
<label name="tol_max"/>
<field name="tol_max"/>
<label name="tolerance_used"/>
<field name="tolerance_used" widget="tolerance_gauge"
min_field="tolerance_min" max_field="tolerance_max"
width="190" xexpand="0" xfill="0"/>
</group>
</group>
@@ -88,21 +102,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="crop"/>
</group>
<group id="purchase_tolerance" string="Tolerance"
colspan="1" col="6" panel="card" icon="tryton-switch"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,90px,min-content,170px">
<label name="tolerance_option"/>
<field name="tolerance_option"/>
<label name="tol_min"/>
<field name="tol_min"/>
<label name="tol_max"/>
<field name="tol_max"/>
<label name="tolerance_used"/>
<field name="tolerance_used" widget="tolerance_gauge"
min_field="tolerance_min" max_field="tolerance_max"
colspan="5" width="190" xexpand="0" xfill="0"/>
</group>
</group>
<field name="tolerance_min" invisible="1"/>
<field name="tolerance_max" invisible="1"/>