19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:47 +01:00
parent accf5918df
commit 6e65e8c877
688 changed files with 225434 additions and 199401 deletions

View file

@ -2,9 +2,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="view_mode">list,form</field>
<field name="domain">['|', ('move_id.raw_material_production_id', '=', active_id), ('move_id.production_id', '=', active_id)]</field>
</record>
@ -16,10 +15,7 @@
<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>
<attribute name="string">Total To Consume</attribute>
</xpath>
</field>
</record>
@ -32,16 +28,26 @@
<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>
<attribute name="string">To Produce</attribute>
</xpath>
<xpath expr="//label[@for='quantity_done']" position="attributes">
<attribute name="string">Produced</attribute>
</field>
</record>
<record id="view_mrp_stock_move_operations" model="ir.ui.view">
<field name="name">stock.move.mrp.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="//field[@name='show_lots_m2o']" position="after">
<field name="quantity" invisible="1"/>
</xpath>
</field>
</record>
<record id="view_stock_move_line_operation_tree_finished" model="ir.ui.view">
<field name="name">stock.move.line.operation.tree.finished</field>
<field name="name">stock.move.line.operation.list.finished</field>
<field name="model">stock.move.line</field>
<field name="inherit_id" ref="stock.view_stock_move_line_operation_tree" />
<field name="arch" type="xml">
@ -49,7 +55,6 @@
<attribute name="context">{
'active_mo_id': context.get('active_mo_id'),
'active_picking_id': picking_id,
'default_company_id': parent.company_id,
'default_product_id': parent.product_id,
}
</attribute>
@ -69,6 +74,17 @@
</field>
</record>
<record id="view_move_line_tree" model="ir.ui.view">
<field name="name">stock.move.line.list</field>
<field name="model">stock.move.line</field>
<field name="inherit_id" ref="stock.view_move_line_tree"/>
<field name="arch" type="xml">
<field name="reference" position="attributes">
<attribute name="decoration-primary">picking_code == 'mrp_operation'</attribute>
</field>
</field>
</record>
<menuitem id="menu_mrp_traceability"
name="Lots/Serial Numbers"
parent="menu_mrp_bom"
@ -83,9 +99,8 @@
sequence="25"/>
<menuitem id="menu_procurement_compute_mrp"
action="stock.action_procurement_compute"
action="stock.ir_cron_scheduler_action_ir_actions_server"
parent="mrp_planning_menu_root"
groups="base.group_no_one"
sequence="135"/>
</odoo>