Purchase line design

This commit is contained in:
2026-06-07 11:48:32 +02:00
parent 05a90f64a5
commit 9e5cd39629

View File

@@ -5,8 +5,8 @@ this repository contains the full copyright notices and license terms. -->
<xpath expr="/form/notebook/page[@id='general']" position="replace">
<page string="General" id="general" col="12"
col_widths="1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr,1fr">
<group id="identity" colspan="12" col="10"
col_widths="min-content,2fr,min-content,1.2fr,min-content,1.2fr,min-content,1fr,min-content,0.8fr">
<group id="identity" colspan="12" col="12"
col_widths="min-content,2fr,min-content,1.2fr,min-content,1.2fr,min-content,1fr,min-content,0.8fr,min-content,min-content">
<label name="product"/>
<field name="product"
view_ids="purchase.product_view_list_purchase_line"/>
@@ -18,26 +18,9 @@ this repository contains the full copyright notices and license terms. -->
<field name="period_at"/>
<label name="concentration"/>
<field name="concentration"/>
</group>
<group id="quantities" string="1. Quantities &amp; Unit"
colspan="6" col="4"
col_widths="min-content,1fr,min-content,1fr">
<label name="quantity_theorical"/>
<field name="quantity_theorical"/>
<label name="quantity"/>
<field name="quantity"/>
<label name="targeted_qt"/>
<field name="targeted_qt" width="120" xexpand="0" xfill="0" xalign="0"/>
<label name="unit"/>
<field name="unit"/>
<separator string="" colspan="4"/>
<label name="tol_min_qt"/>
<field name="tol_min_qt"/>
<label name="tol_max_qt"/>
<field name="tol_max_qt"/>
</group>
<group id="dates" string="2. Dates" colspan="6" col="8"
col_widths="min-content,1fr,min-content,min-content,1fr,min-content,1fr,min-content">
<newline/>
<label name="attributes_name"/>
<field name="attributes_name"/>
<label id="delivery_date" string="Delivery Date:"/>
<group id="delivery_date" col="-1">
<field name="delivery_date" xexpand="0"/>
@@ -50,7 +33,19 @@ this repository contains the full copyright notices and license terms. -->
<label name="finished"/>
<field name="finished"/>
</group>
<group id="pricing_amounts" string="3. Pricing &amp; Amounts"
<group id="quantities" string="1. Quantities &amp; Unit"
colspan="6" col="4"
col_widths="min-content,1fr,min-content,1fr">
<label name="quantity_theorical"/>
<field name="quantity_theorical"/>
<label name="quantity"/>
<field name="quantity"/>
<label name="targeted_qt"/>
<field name="targeted_qt" width="120" xexpand="0" xfill="0" xalign="0"/>
<label name="unit"/>
<field name="unit"/>
</group>
<group id="pricing_amounts" string="2. Pricing &amp; Amounts"
colspan="6" col="6"
col_widths="min-content,1fr,min-content,1fr,min-content,1fr">
<label name="price_type"/>
@@ -61,8 +56,11 @@ this repository contains the full copyright notices and license terms. -->
<field name="premium"/>
<label name="amount"/>
<field name="amount"/>
<newline/>
<label name="progress"/>
<field name="progress" widget="progressbar"/>
</group>
<group id="currencies_links" string="4. Currencies &amp; Links"
<group id="currencies_links"
colspan="6" col="4"
col_widths="min-content,1fr,min-content,1fr">
<label name="enable_linked_currency"/>
@@ -76,12 +74,9 @@ this repository contains the full copyright notices and license terms. -->
<label name="certif"/>
<field name="certif"/>
</group>
<group id="tolerances" string="5. Tolerances &amp; Inheritance"
<group id="tolerances" string="3. Tolerances &amp; Inheritance"
colspan="6" col="6"
col_widths="min-content,1fr,min-content,1fr,min-content,1fr">
<label name="progress"/>
<field name="progress" widget="progressbar"/>
<newline/>
<label name="inherit_tol"/>
<field name="inherit_tol"/>
<label name="inherit_cer"/>
@@ -91,6 +86,12 @@ this repository contains the full copyright notices and license terms. -->
<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"
@@ -104,8 +105,6 @@ this repository contains the full copyright notices and license terms. -->
</group>
<group id="attributes_description" colspan="12" col="2"
col_widths="min-content,1fr">
<label name="attributes_name"/>
<field name="attributes_name"/>
<separator name="description" colspan="2"/>
<field name="description" colspan="2"/>
</group>