diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/mrp/views/stock_move_views.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/mrp/views/stock_move_views.xml')
| -rw-r--r-- | addons/mrp/views/stock_move_views.xml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/addons/mrp/views/stock_move_views.xml b/addons/mrp/views/stock_move_views.xml new file mode 100644 index 00000000..544c7ee0 --- /dev/null +++ b/addons/mrp/views/stock_move_views.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <record model="ir.actions.act_window" id="action_mrp_production_moves"> + <field name="name">Inventory Moves</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">stock.move.line</field> + <field name="view_mode">tree,form</field> + <field name="domain">['|', ('move_id.raw_material_production_id', '=', active_id), ('move_id.production_id', '=', active_id)]</field> + </record> + + <record id="view_stock_move_operations_raw" model="ir.ui.view"> + <field name="name">stock.move.operations.raw.form</field> + <field name="model">stock.move</field> + <field name="priority">1</field> + <field name="mode">primary</field> + <field name="inherit_id" ref="stock.view_stock_move_operations" /> + <field name="arch" type="xml"> + <xpath expr="//label[@for='product_uom_qty']" position="attributes"> + <attribute name="string">Total To Consume</attribute> + </xpath> + <xpath expr="//label[@for='quantity_done']" position="attributes"> + <attribute name="string">Consumed</attribute> + </xpath> + </field> + </record> + + <record id="view_stock_move_operations_finished" model="ir.ui.view"> + <field name="name">stock.move.operations.finished.form</field> + <field name="model">stock.move</field> + <field name="priority">1</field> + <field name="mode">primary</field> + <field name="inherit_id" ref="stock.view_stock_move_operations" /> + <field name="arch" type="xml"> + <xpath expr="//label[@for='product_uom_qty']" position="attributes"> + <attribute name="string">To Produce</attribute> + </xpath> + <xpath expr="//label[@for='quantity_done']" position="attributes"> + <attribute name="string">Produced</attribute> + </xpath> + </field> + </record> + + <menuitem id="menu_mrp_traceability" + name="Lots/Serial Numbers" + parent="menu_mrp_bom" + action="stock.action_production_lot_form" + groups="stock.group_production_lot" + sequence="15"/> + + <menuitem id="menu_mrp_scrap" + name="Scrap" + parent="menu_mrp_manufacturing" + action="stock.action_stock_scrap" + sequence="25"/> + + <menuitem id="menu_procurement_compute_mrp" + action="stock.action_procurement_compute" + parent="mrp_planning_menu_root" + sequence="135"/> + +</odoo> |
