diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-10 08:55:36 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-10 08:55:36 +0700 |
| commit | c37c440f117cbb5f227096c1fceb74b2809349ee (patch) | |
| tree | 7f12da0c93906fc9ad0d3d5af090bfcf7e4a65df /indoteknik_custom/views | |
| parent | a0988c45dba1451dc5a670eb6a378527de1390ec (diff) | |
<Miqdad> approval adjust out
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/stock_inventory.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indoteknik_custom/views/stock_inventory.xml b/indoteknik_custom/views/stock_inventory.xml index db85f05c..ebbc5bb3 100644 --- a/indoteknik_custom/views/stock_inventory.xml +++ b/indoteknik_custom/views/stock_inventory.xml @@ -6,9 +6,14 @@ <field name="model">stock.inventory</field> <field name="inherit_id" ref="stock.view_inventory_form"/> <field name="arch" type="xml"> + <header> + <button name="action_approve" string="Approve" type="object" + class="btn-primary" attrs="{'invisible': [('adjusment_type', 'not in', ['out'])]}"/> + </header> <xpath expr="//field[@name='location_ids']" position="after"> <field name="number" readonly="1"/> <field name="adjusment_type" /> + <field name="approval_state" readonly="1"/> </xpath> </field> </record> |
