Purchase form

This commit is contained in:
2026-07-24 17:58:27 +02:00
parent f05046b8c9
commit e767f4543e

View File

@@ -100,15 +100,7 @@ this repository contains the full copyright notices and license terms. -->
<newline/>
<label name="progress"/>
<field name="progress" widget="progressbar" colspan="3"/>
</group>
</group>
<group id="line_links_market_left" colspan="6" col="1"
xalign="0" yalign="0"
col_widths="1fr">
<group id="currencies_links" string="Currencies &amp; Links"
colspan="1" col="4" panel="card" icon="tryton-link"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr">
<newline/>
<label name="enable_linked_currency"/>
<field name="enable_linked_currency" xexpand="0" xfill="0"/>
<label name="linked_currency"/>
@@ -118,9 +110,44 @@ this repository contains the full copyright notices and license terms. -->
<field name="linked_unit"/>
<label name="linked_price"/>
<field name="linked_price"/>
</group>
</group>
<group id="line_links_market_left" colspan="6" col="1"
xalign="0" yalign="0"
col_widths="1fr">
<group id="tolerances" string="Tolerances &amp; Inheritance"
colspan="1" col="4" panel="card" icon="tryton-switch"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr">
<label name="inherit_tol"/>
<field name="inherit_tol"/>
<label name="inherit_cer"/>
<field name="inherit_cer"/>
<newline/>
<label name="certif"/>
<field name="certif" colspan="3"/>
<newline/>
<label name="tol_min"/>
<field name="tol_min"/>
<label name="tol_max"/>
<field name="tol_max"/>
<newline/>
<label name="tol_min_qt"/>
<field name="tol_min_qt"/>
<label name="tol_max_qt"/>
<field name="tol_max_qt"/>
<newline/>
<label name="tolerance_used"/>
<field name="tolerance_used" widget="tolerance_gauge"
min_field="tolerance_min" max_field="tolerance_max"
width="180" xexpand="0" xfill="0" xalign="0" colspan="3"/>
<newline/>
<label name="tol_min_v"/>
<field name="tol_min_v"/>
<label name="tol_max_v"/>
<field name="tol_max_v"/>
<field name="tolerance_min" invisible="1" colspan="4"/>
<field name="tolerance_max" invisible="1" colspan="4"/>
</group>
</group>
<group id="line_links_market_right" colspan="6" col="1"
@@ -138,36 +165,13 @@ this repository contains the full copyright notices and license terms. -->
<field name="coffee_market_delta" width="120" xexpand="0" xfill="0"/>
</group>
</group>
<group id="tolerances" string="Tolerances &amp; Inheritance"
colspan="12" col="4" panel="card" icon="tryton-switch"
<group id="line_fees" string="Fees"
colspan="12" col="1" panel="card" icon="tryton-list"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr">
<label name="inherit_tol"/>
<field name="inherit_tol"/>
<label name="inherit_cer"/>
<field name="inherit_cer"/>
<newline/>
<label name="tol_min"/>
<field name="tol_min"/>
<label name="tol_max"/>
<field name="tol_max"/>
<newline/>
<label name="tol_min_qt"/>
<field name="tol_min_qt"/>
<label name="tol_max_qt"/>
<field name="tol_max_qt"/>
<newline/>
<label name="tolerance_used"/>
<field name="tolerance_used" widget="tolerance_gauge"
min_field="tolerance_min" max_field="tolerance_max"
width="180" xexpand="0" xfill="0" xalign="0" colspan="3"/>
<newline/>
<label name="tol_min_v"/>
<field name="tol_min_v"/>
<label name="tol_max_v"/>
<field name="tol_max_v"/>
<field name="tolerance_min" invisible="1" colspan="4"/>
<field name="tolerance_max" invisible="1" colspan="4"/>
col_widths="1fr">
<button name="apply_default_fees" icon="tryton-launch"/>
<field name="fees" colspan="1" mode="tree,form"
view_ids="purchase_trade.fee_view_tree_sequence,purchase_trade.fee_view_form"/>
</group>
<group id="attributes_description" string="Description"
colspan="12" col="1" panel="card" icon="tryton-note"
@@ -255,10 +259,6 @@ this repository contains the full copyright notices and license terms. -->
<page string="Lots" col="4" id="lots">
<field name="lots" mode="tree,form" view_ids="lot.lot_view_tree_sequence,lot.lot_view_form"/>
</page>
<page string="Fees" col="4" id="fees">
<button name="apply_default_fees" icon="tryton-launch"/>
<field name="fees" colspan="4" mode="tree,mode" view_ids="purchase_trade.fee_view_tree_sequence,purchase_trade.fee_view_form"/>
</page>
<page string="Mtm" col="4" id="mtm">
<field name="mtm" colspan="4"/>
</page>