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" <group id="purchase_header_left" colspan="4" col="1"
xalign="0" yalign="0" col_widths="1fr"> xalign="0" yalign="0" col_widths="1fr">
<group id="purchase_commercial_terms" string="Commercial Terms" <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" xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr,min-content,130px"> col_widths="1fr">
<label name="payment_term"/> <group id="purchase_commercial_terms_top"
<field name="payment_term"/> colspan="1" col="6" xalign="0" yalign="0"
<label name="wb"/> col_widths="min-content,1fr,min-content,1fr,min-content,130px">
<field name="wb"/> <label name="payment_term"/>
<label name="lc_date"/> <field name="payment_term"/>
<field name="lc_date"/> <label name="wb"/>
<newline/> <field name="wb"/>
<label name="certif"/> <label name="lc_date"/>
<field name="certif"/> <field name="lc_date"/>
<label name="incoterm"/> </group>
<field name="incoterm"/> <group id="purchase_commercial_terms_incoterm"
<label name="incoterm_location"/> colspan="1" col="4" xalign="0" yalign="0"
<field name="incoterm_location"/> col_widths="min-content,1fr,min-content,1fr">
<label name="product_origin"/> <label name="incoterm"/>
<field name="product_origin"/> <field name="incoterm"/>
<label name="tolerance_option"/> <label name="incoterm_location"/>
<field name="tolerance_option"/> <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>
<group id="purchase_execution" string="People &amp; Execution" <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" <group id="purchase_map" string="Map" colspan="1" col="1"
panel="card" icon="tryton-public" xalign="0" yalign="0" panel="card" icon="tryton-public" xalign="0" yalign="0"
col_widths="1fr"> col_widths="1fr">
<field name="viewer" widget="html_viewer" height="230"/> <field name="viewer" widget="html_viewer" height="190"/>
</group> </group>
<group id="purchase_recap" string="Récapitulatif" <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" xalign="0" yalign="0"
col_widths="min-content,1fr"> col_widths="min-content,1fr,min-content,1fr">
<label name="state"/> <label name="state"/>
<field name="state"/> <field name="state"/>
<label name="invoice_state"/> <label name="invoice_state"/>
<field name="invoice_state"/> <field name="invoice_state"/>
<label name="shipment_state"/> <label name="shipment_state"/>
<field name="shipment_state"/> <field name="shipment_state"/>
<newline/>
<label name="untaxed_amount"/> <label name="untaxed_amount"/>
<field name="untaxed_amount"/> <field name="untaxed_amount" width="120" xexpand="0" xfill="0"/>
<label name="tax_amount"/> <label name="tax_amount"/>
<field name="tax_amount"/> <field name="tax_amount" width="100" xexpand="0" xfill="0"/>
<label name="total_amount"/> <label name="total_amount"/>
<field name="total_amount"/> <field name="total_amount" width="120" xexpand="0" xfill="0"/>
</group> </group>
</group> </group>
</xpath> </xpath>