summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-08-25 13:10:37 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-08-25 13:10:37 +0700
commit794e00fc836fd00c9e2241b0c356c88d67b443b0 (patch)
tree7f61487eb730f906e032a71c243a66d5aafd9f53 /indoteknik_custom/views
parent44d1abe6f98b3b2e49e3dbca2be3682e01a0f6cf (diff)
add field description to mrp production
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/mrp_production.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/indoteknik_custom/views/mrp_production.xml b/indoteknik_custom/views/mrp_production.xml
new file mode 100644
index 00000000..f81d65e8
--- /dev/null
+++ b/indoteknik_custom/views/mrp_production.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<odoo>
+ <record id="production_mrp_form_view_inherited" model="ir.ui.view">
+ <field name="name">mrp.production.view.inherited</field>
+ <field name="model">mrp.production</field>
+ <field name="inherit_id" ref="mrp.mrp_production_form_view" />
+ <field name="arch" type="xml">
+ <field name="bom_id" position="after">
+ <field name="desc"/>
+ </field>
+ </field>
+ </record>
+
+ <record id="production_mrp_tree_view_inherited" model="ir.ui.view">
+ <field name="name">mrp.production.view.inherited</field>
+ <field name="model">mrp.production</field>
+ <field name="inherit_id" ref="mrp.mrp_production_tree_view" />
+ <field name="arch" type="xml">
+ <field name="product_id" position="after">
+ <field name="desc"/>
+ </field>
+ </field>
+ </record>
+</odoo>