diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-14 12:06:41 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-14 12:06:41 +0700 |
| commit | 1cef765c69c4ba7e305ec7c66beda01332efa0f4 (patch) | |
| tree | 50f9aabd7cc4d6229cd9014d73b77ccce49b2a40 /indoteknik_custom/views | |
| parent | 17e9e2303ac37e77676326608a71d68a2dc35197 (diff) | |
| parent | 57221d2537684168a4761ce2eb0b2ede5586325f (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into gudang-service
merge
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/stock_inventory.xml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indoteknik_custom/views/stock_inventory.xml b/indoteknik_custom/views/stock_inventory.xml index 89c058ea..ab1b6eec 100644 --- a/indoteknik_custom/views/stock_inventory.xml +++ b/indoteknik_custom/views/stock_inventory.xml @@ -6,14 +6,10 @@ <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'])]}"/> + <field name="approval_state" /> </xpath> </field> </record> @@ -26,6 +22,7 @@ <field name="arch" type="xml"> <xpath expr="//field[@name='date']" position="after"> <field name="number"/> + <field name="adjusment_type" /> <field name="approval_state"/> </xpath> </field> |
