summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/stock_inventory.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-02-25 13:41:56 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-02-25 13:41:56 +0700
commitc9f221da247bb35c0c1005e5d8888d7ab1a4bf37 (patch)
tree2b071deda75de6efb9b6c4082dc7ea424207a32a /indoteknik_custom/views/stock_inventory.xml
parent093bd33ba36ba123a53853e7407e534f9f23734b (diff)
parent8539e68a94c09fe9496f7d93fda8961fcd254211 (diff)
Merge branch 'odoo-production' into CR/renca-voucher
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>