19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:47 +01:00
parent accf5918df
commit 6e65e8c877
688 changed files with 225434 additions and 199401 deletions

View file

@ -15,31 +15,30 @@
</div>
<group>
<field name="state" invisible='1'/>
<field name="scheduled_date" attrs="{'required': [('id', '!=', False)]}" decoration-warning="state not in ('done', 'cancel') and scheduled_date &lt; now" decoration-danger="state not in ('done', 'cancel') and scheduled_date &lt; current_date" decoration-bf="state not in ('done', 'cancel') and (scheduled_date &lt; current_date or scheduled_date &lt; now)"/>
<field name="date_deadline" attrs="{'invisible': ['|', ('state', 'in', ('done', 'cancel')), ('date_deadline', '=', False)]}" decoration-danger="date_deadline and date_deadline &lt; current_date" decoration-bf="date_deadline and date_deadline &lt; current_date"/>
<field name="origin" placeholder="e.g. PO0032"/>
<field name="scheduled_date" readonly="state in ['cancel', 'done']" required="id" decoration-warning="state not in ('done', 'cancel') and scheduled_date &lt; now" decoration-danger="state not in ('done', 'cancel') and scheduled_date &lt; current_date" decoration-bf="state not in ('done', 'cancel') and (scheduled_date &lt; current_date or scheduled_date &lt; now)"/>
<field name="date_deadline" invisible="state in ('done', 'cancel') or not date_deadline" decoration-danger="date_deadline and date_deadline &lt; current_date" decoration-bf="date_deadline and date_deadline &lt; current_date"/>
<field name="origin" placeholder="e.g. PO0032" readonly="state in ['cancel', 'done']"/>
</group>
<notebook>
<page string="Operations" name="operations">
<field name="move_ids_without_package" mode="tree">
<tree no_open="1">
<field name="id" readonly="1" invisible="1"/>
<field name="move_ids" mode="list" context="{'default_picking_id': id, 'default_picking_type_id': picking_type_id, 'default_company_id': company_id, 'default_date': scheduled_date}">
<list no_open="1">
<field name="id" readonly="1" column_invisible="True"/>
<field name="product_id" readonly="1"/>
<field name="show_details_visible" invisible="1"/>
<field name="show_details_visible" column_invisible="True"/>
<field name="description_picking" string="Description" optional="hide"/>
<field name="date" optional="hide"/>
<field name="date_deadline" optional="hide"/>
<field name="product_packaging_id" groups="product.group_stock_packaging"/>
<field name="product_uom_qty" string="Demand" readonly="1"/>
<field name="product_qty" invisible="1" readonly="1"/>
<field name="quantity_done" string="Done"/>
<field name="product_uom" groups="uom.group_uom"/>
<button name="action_show_details" type="object" icon="fa-list" width="0.1" title="Details"
attrs="{'invisible': [('show_details_visible', '=', False)]}" context="{'is_subcontracting_portal': 1}"/>
<field name="show_subcontracting_details_visible" invisible="1"/>
<field name="product_qty" readonly="1" column_invisible="True"/>
<field name="quantity" string="Done"/>
<field name="product_uom" groups="uom.group_uom" widget="many2one_uom"/>
<button name="action_show_details" type="object" icon="fa-list" title="Details"
invisible="not show_details_visible" context="{'is_subcontracting_portal': 1}"/>
<field name="show_subcontracting_details_visible" column_invisible="True"/>
<button name="action_show_subcontract_details" string="Register components for subcontracted product" type="object" icon="fa-sitemap"
width="0.1" attrs="{'invisible': [('show_subcontracting_details_visible', '=', False)]}"/>
</tree>
invisible="not show_subcontracting_details_visible"/>
</list>
</field>
</page>
</notebook>