diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-10 09:34:18 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-10 09:34:18 +0700 |
| commit | 8799539f33a225fd5b6ddcd1e5ae1bac52fb6b2c (patch) | |
| tree | 6fb3b10f6dc5414f37ac06c8ad4d19ec07d547b1 /indoteknik_custom/views/stock_inventory.xml | |
| parent | a52626db2cb646c9b8573b7ab15690066313031d (diff) | |
| parent | b04fb88af7e868a32af5ffbe4b5f5e97a5da4878 (diff) | |
Merge branch 'odoo-backup' of bitbucket.org:altafixco/indoteknik-addons into gudang-service
merge
Diffstat (limited to 'indoteknik_custom/views/stock_inventory.xml')
| -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..df747830 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" attrs="{'invisible': [('adjusment_type', 'not in', ['out'])]}"/> </xpath> </field> </record> |
