summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-04-28 10:23:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-04-28 10:23:50 +0700
commit508147aa709a936acbb7a7d0d988660ea553d58c (patch)
treee346c793ed2a82bf83a4c5b9506b81db3f86ac9b
parent8439e05c346afb0e282ff172528b7292756f3823 (diff)
add outgoing and incoming qty product
-rwxr-xr-xindoteknik_custom/__manifest__.py1
-rw-r--r--indoteknik_custom/views/product_product.xml16
2 files changed, 17 insertions, 0 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py
index df74375f..c6b20e38 100755
--- a/indoteknik_custom/__manifest__.py
+++ b/indoteknik_custom/__manifest__.py
@@ -72,6 +72,7 @@
'views/automatic_purchase.xml',
'views/raja_ongkir.xml',
'views/procurement_monitoring_detail.xml',
+ 'views/product_product.xml',
'report/report.xml',
'report/report_banner_banner.xml',
'report/report_banner_banner2.xml',
diff --git a/indoteknik_custom/views/product_product.xml b/indoteknik_custom/views/product_product.xml
new file mode 100644
index 00000000..d3ef3e15
--- /dev/null
+++ b/indoteknik_custom/views/product_product.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<odoo>
+ <data>
+ <record id="product_product_tree_inherit" model="ir.ui.view">
+ <field name="name">Product Product</field>
+ <field name="model">product.product</field>
+ <field name="inherit_id" ref="product.product_product_tree_view"/>
+ <field name="arch" type="xml">
+ <field name="qty_available" position="after">
+ <field name="outgoing_qty"/>
+ <field name="incoming_qty"/>
+ </field>
+ </field>
+ </record>
+ </data>
+</odoo> \ No newline at end of file