Purchase design

This commit is contained in:
2026-06-08 20:33:28 +02:00
parent dbd5e5b77f
commit 745325eb20

View File

@@ -77,17 +77,26 @@ this repository contains the full copyright notices and license terms. -->
</group>
<group id="purchase_tolerance" string="Tolerance"
colspan="1" col="6" panel="card" icon="tryton-switch"
colspan="1" col="3" panel="card" icon="tryton-switch"
xalign="0" yalign="0"
col_widths="120px,120px,120px,120px,150px,170px">
<label name="tol_min"/>
<field name="tol_min" width="115" xexpand="0" xfill="0"/>
<label name="tol_max"/>
<field name="tol_max" width="115" xexpand="0" xfill="0"/>
<label name="tolerance_used"/>
<field name="tolerance_used" widget="tolerance_gauge"
min_field="tolerance_min" max_field="tolerance_max"
width="160" xexpand="0" xfill="0"/>
col_widths="250px,250px,350px">
<group id="purchase_tol_min_line" colspan="1" col="2"
xalign="0" yalign="0" col_widths="105px,130px">
<label name="tol_min"/>
<field name="tol_min" width="120" xexpand="0" xfill="0"/>
</group>
<group id="purchase_tol_max_line" colspan="1" col="2"
xalign="0" yalign="0" col_widths="105px,130px">
<label name="tol_max"/>
<field name="tol_max" width="120" xexpand="0" xfill="0"/>
</group>
<group id="purchase_tolerance_used_line" colspan="1" col="2"
xalign="0" yalign="0" col_widths="125px,180px">
<label name="tolerance_used"/>
<field name="tolerance_used" widget="tolerance_gauge"
min_field="tolerance_min" max_field="tolerance_max"
width="165" xexpand="0" xfill="0"/>
</group>
<field name="tolerance_min" invisible="1"/>
<field name="tolerance_max" invisible="1"/>
</group>
@@ -98,7 +107,7 @@ this repository contains the full copyright notices and license terms. -->
<group id="purchase_map" string="Map" colspan="1" col="1"
panel="card" icon="tryton-public" xalign="0" yalign="0"
col_widths="1fr">
<field name="viewer" widget="html_viewer" height="205"/>
<field name="viewer" widget="html_viewer" height="220"/>
</group>
<group id="purchase_recap" string="Execution summary"
colspan="1" col="1" panel="sidebar" icon="tryton-note"