PL design

This commit is contained in:
2026-06-07 12:54:15 +02:00
parent c2495bb6ea
commit eb82211da7

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="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">
<group id="identity" colspan="12" col="10" panel="summary"
col_widths="min-content,2fr,min-content,1.2fr,min-content,1.2fr,min-content,1fr,min-content,0.8fr">
<label name="product"/>
<field name="product"
view_ids="purchase.product_view_list_purchase_line"/>
@@ -18,25 +18,11 @@ this repository contains the full copyright notices and license terms. -->
<field name="period_at"/>
<label name="concentration"/>
<field name="concentration"/>
<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"/>
<field name="delivery_date_edit" xexpand="0" xalign="0"/>
</group>
<label name="from_del"/>
<field name="from_del"/>
<label name="to_del"/>
<field name="to_del"/>
<label name="finished"/>
<field name="finished"/>
</group>
<group id="left_column" colspan="6" col="1"
col_widths="1fr">
<group id="quantities" string="[#] Quantities &amp; Unit"
colspan="1" col="4"
<group id="quantities" string="1. Quantities &amp; Unit"
colspan="1" col="4" panel="card" icon="tryton-archive"
col_widths="min-content,1fr,min-content,1fr">
<label name="quantity_theorical"/>
<field name="quantity_theorical"/>
@@ -46,41 +32,18 @@ this repository contains the full copyright notices and license terms. -->
<field name="targeted_qt" width="120" xexpand="0" xfill="0" xalign="0"/>
<label name="unit"/>
<field name="unit"/>
</group>
<group id="currencies_links" colspan="1" col="4"
col_widths="min-content,1fr,min-content,1fr">
<label name="enable_linked_currency"/>
<field name="enable_linked_currency"/>
<label name="linked_currency"/>
<field name="linked_currency"/>
<label name="linked_unit"/>
<field name="linked_unit"/>
<label name="linked_price"/>
<field name="linked_price"/>
<label name="certif"/>
<field name="certif"/>
</group>
</group>
<group id="right_column" colspan="6" col="1"
col_widths="1fr">
<group id="pricing_amounts" string="[$] Pricing &amp; Amounts"
colspan="1" col="6"
col_widths="min-content,1fr,min-content,1fr,min-content,1fr">
<label name="price_type"/>
<field name="price_type"/>
<label name="unit_price"/>
<field name="unit_price"/>
<label name="premium"/>
<field name="premium"/>
<label name="amount"/>
<field name="amount"/>
<newline/>
<label name="progress"/>
<field name="progress" widget="progressbar"/>
<label name="tol_min_qt"/>
<field name="tol_min_qt"/>
<label name="tol_max_qt"/>
<field name="tol_max_qt"/>
</group>
<group id="tolerances" string="[=] Tolerances &amp; Inheritance"
colspan="1" col="6"
<group id="tolerances" string="4. Tolerances &amp; Inheritance"
colspan="1" col="6" panel="card" icon="tryton-switch"
col_widths="min-content,1fr,min-content,1fr,min-content,1fr">
<label name="progress"/>
<field name="progress" widget="progressbar" colspan="5"/>
<newline/>
<label name="inherit_tol"/>
<field name="inherit_tol"/>
<label name="inherit_cer"/>
@@ -90,12 +53,6 @@ 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"
@@ -108,10 +65,58 @@ this repository contains the full copyright notices and license terms. -->
<field name="tolerance_max" invisible="1" colspan="4"/>
</group>
</group>
<group id="attributes_description" colspan="12" col="2"
<group id="right_column" colspan="6" col="1"
col_widths="1fr">
<group id="dates" string="2. Dates"
colspan="1" col="9" panel="card" icon="tryton-date"
col_widths="min-content,1fr,min-content,min-content,1fr,min-content,1fr,min-content,min-content">
<label id="delivery_date" string="Delivery Date:"/>
<field name="delivery_date"/>
<field name="delivery_date_edit" xexpand="0" xfill="0" xalign="0"/>
<label name="from_del"/>
<field name="from_del"/>
<label name="to_del"/>
<field name="to_del"/>
<label name="finished"/>
<field name="finished"/>
</group>
<group id="pricing_amounts" string="3. Pricing &amp; Amounts"
colspan="1" col="6" panel="card" icon="tryton-public"
col_widths="min-content,1fr,min-content,1fr,min-content,1fr">
<label name="price_type"/>
<field name="price_type"/>
<label name="unit_price"/>
<field name="unit_price"/>
<label name="premium"/>
<field name="premium"/>
<label name="amount"/>
<field name="amount" colspan="3"/>
</group>
<group id="currencies_links" string="5. Currencies &amp; Links"
colspan="1" col="4" panel="card" icon="tryton-link"
col_widths="min-content,1fr,min-content,1fr">
<label name="enable_linked_currency"/>
<field name="enable_linked_currency"/>
<label name="linked_currency"/>
<field name="linked_currency"/>
<label name="linked_unit"/>
<field name="linked_unit"/>
<label name="linked_price"/>
<field name="linked_price"/>
<label name="certif"/>
<field name="certif" colspan="3"/>
</group>
</group>
<group id="attributes_description" string="Description"
colspan="6" col="1" panel="card" icon="tryton-note"
col_widths="1fr">
<field name="description"/>
</group>
<group id="attributes" string="Attributes"
colspan="6" col="2" panel="card" icon="tryton-filter"
col_widths="min-content,1fr">
<separator name="description" colspan="2"/>
<field name="description" colspan="2"/>
<label name="attributes_name"/>
<field name="attributes_name"/>
</group>
</page>
</xpath>