summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/stock_inventory.xml
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2025-03-03 13:45:12 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2025-03-03 13:45:12 +0700
commit887a0a83cd1ba53689d8c4b453761b94fa7e109b (patch)
treeab586cf196a454d17df70301bef6c4e714b5223a /indoteknik_custom/views/stock_inventory.xml
parent83d9fcaaae0ba04902d0010a801ccc2245834bab (diff)
parent7c675cd5bc9f45d2ebca33a63b7184cbb97f0f2f (diff)
Merge branch 'odoo-production' into feature/integrasi_biteship
# Conflicts: # indoteknik_custom/__manifest__.py # indoteknik_custom/models/sale_order.py # indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/views/stock_inventory.xml')
-rw-r--r--indoteknik_custom/views/stock_inventory.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/indoteknik_custom/views/stock_inventory.xml b/indoteknik_custom/views/stock_inventory.xml
new file mode 100644
index 00000000..db85f05c
--- /dev/null
+++ b/indoteknik_custom/views/stock_inventory.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<odoo>
+ <!-- Form View: Tambahkan field 'number' setelah lokasi -->
+ <record id="view_stock_inventory_form_inherit" model="ir.ui.view">
+ <field name="name">stock.inventory.form.inherit</field>
+ <field name="model">stock.inventory</field>
+ <field name="inherit_id" ref="stock.view_inventory_form"/>
+ <field name="arch" type="xml">
+ <xpath expr="//field[@name='location_ids']" position="after">
+ <field name="number" readonly="1"/>
+ <field name="adjusment_type" />
+ </xpath>
+ </field>
+ </record>
+
+ <!-- Tree View: Tambahkan field 'number' setelah tanggal -->
+ <record id="view_stock_inventory_tree_inherit" model="ir.ui.view">
+ <field name="name">stock.inventory.tree.inherit</field>
+ <field name="model">stock.inventory</field>
+ <field name="inherit_id" ref="stock.view_inventory_tree"/>
+ <field name="arch" type="xml">
+ <xpath expr="//field[@name='date']" position="after">
+ <field name="number"/>
+ </xpath>
+ </field>
+ </record>
+
+</odoo>