Purchase design

This commit is contained in:
2026-06-08 18:44:14 +02:00
parent dc067fb812
commit abbcdfd2ec

View File

@@ -22,26 +22,36 @@ this repository contains the full copyright notices and license terms. -->
<group id="purchase_header_left" colspan="4" col="1"
xalign="0" yalign="0" col_widths="1fr">
<group id="purchase_commercial_terms" string="Commercial Terms"
colspan="1" col="6" panel="card" icon="tryton-public"
colspan="1" col="1" panel="card" icon="tryton-public"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr,min-content,130px">
<label name="payment_term"/>
<field name="payment_term"/>
<label name="wb"/>
<field name="wb"/>
<label name="lc_date"/>
<field name="lc_date"/>
<newline/>
<label name="certif"/>
<field name="certif"/>
<label name="incoterm"/>
<field name="incoterm"/>
<label name="incoterm_location"/>
<field name="incoterm_location"/>
<label name="product_origin"/>
<field name="product_origin"/>
<label name="tolerance_option"/>
<field name="tolerance_option"/>
col_widths="1fr">
<group id="purchase_commercial_terms_top"
colspan="1" col="6" xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr,min-content,130px">
<label name="payment_term"/>
<field name="payment_term"/>
<label name="wb"/>
<field name="wb"/>
<label name="lc_date"/>
<field name="lc_date"/>
</group>
<group id="purchase_commercial_terms_incoterm"
colspan="1" col="4" xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr">
<label name="incoterm"/>
<field name="incoterm"/>
<label name="incoterm_location"/>
<field name="incoterm_location"/>
</group>
<group id="purchase_commercial_terms_origin"
colspan="1" col="4" xalign="0" yalign="0"
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>
<field name="certif" invisible="1"/>
</group>
<group id="purchase_execution" string="People &amp; Execution"
@@ -88,24 +98,25 @@ 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="230"/>
<field name="viewer" widget="html_viewer" height="190"/>
</group>
<group id="purchase_recap" string="Récapitulatif"
colspan="1" col="2" panel="sidebar" icon="tryton-note"
colspan="1" col="4" panel="sidebar" icon="tryton-note"
xalign="0" yalign="0"
col_widths="min-content,1fr">
col_widths="min-content,1fr,min-content,1fr">
<label name="state"/>
<field name="state"/>
<label name="invoice_state"/>
<field name="invoice_state"/>
<label name="shipment_state"/>
<field name="shipment_state"/>
<newline/>
<label name="untaxed_amount"/>
<field name="untaxed_amount"/>
<field name="untaxed_amount" width="120" xexpand="0" xfill="0"/>
<label name="tax_amount"/>
<field name="tax_amount"/>
<field name="tax_amount" width="100" xexpand="0" xfill="0"/>
<label name="total_amount"/>
<field name="total_amount"/>
<field name="total_amount" width="120" xexpand="0" xfill="0"/>
</group>
</group>
</xpath>