diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-03-27 14:38:57 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-03-27 14:38:57 +0700 |
| commit | e926482af5f2b95ff465445215c77161223ee671 (patch) | |
| tree | 3005696f1fb0857930f09e5c0eca4063e35b2e76 /indoteknik_custom/views/mrp_production.xml | |
| parent | db3ff0677f9c6ddd0f04ebcf3e9c780045259f73 (diff) | |
push
Diffstat (limited to 'indoteknik_custom/views/mrp_production.xml')
| -rw-r--r-- | indoteknik_custom/views/mrp_production.xml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/indoteknik_custom/views/mrp_production.xml b/indoteknik_custom/views/mrp_production.xml index a28cdff8..e639b988 100644 --- a/indoteknik_custom/views/mrp_production.xml +++ b/indoteknik_custom/views/mrp_production.xml @@ -6,17 +6,10 @@ <field name="inherit_id" ref="mrp.mrp_production_form_view" /> <field name="arch" type="xml"> <button name="button_mark_done" position="after"> - <button name="action_approve" type="object" string="Approve" attrs="{'invisible': [('status', '!=', 'pending')]}"/> - </button> - <button name="button_mark_done" position="after"> - <button name="action_reject" type="object" string="Reject" attrs="{'invisible': [('status', '!=', 'pending')]}"/> - </button> - <button name="button_mark_done" position="after"> - <button name="create_po_from_manufacturing" type="object" string="Create PO" class="oe_highlight" attrs="{'invisible': [('status', '!=', 'approved')]}"/> + <button name="create_po_from_manufacturing" type="object" string="Create PO" class="oe_highlight" attrs="{'invisible': [('state', '!=', 'confirmed')]}"/> </button> <field name="bom_id" position="after"> <field name="desc"/> - <field name="status"/> </field> <xpath expr="//form/sheet/notebook/page/field[@name='move_raw_ids']/tree/field[@name='product_uom_qty']" position="before"> <field name="vendor_id"/> |
