[REM] mrp: remove report "Manufacturing Order"

The report "Manufacturing Orders" is just the graph/pivot view of MO,
most of the infomation can be found on a more accurate report
"Production Analysis".
In this commit, we removed "Manufacturing Orders" from the report view.
Users can still access it from Operations -> Manfacturing Orders ->
graph/pivot view.

Task-2695732

closes odoo/odoo#130342

Related: odoo/enterprise#44912
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
yhu-odoo
2023-08-23 18:55:03 +02:00
parent f9867a5fa5
commit 6faafdefa3
-28
View File
@@ -650,40 +650,12 @@
parent="menu_mrp_manufacturing"
sequence="1"/>
<record id="mrp_production_report" model="ir.actions.act_window">
<field name="name">Manufacturing Orders</field>
<field name="res_model">mrp.production</field>
<field name="view_mode">graph,pivot,form</field>
<field name="target">current</field>
<field name="context">{
'search_default_product': 1,
'search_default_scheduled_date': 2,
'search_default_filter_confirmed': True,
'search_default_filter_planned': True,
'default_company_id': allowed_company_ids[0],
'allowed_company_ids': allowed_company_ids
}</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
No data yet!
</p><p>
Create a new manufacturing order
</p>
</field>
</record>
<menuitem id="menu_mrp_workorder_todo"
name="Work Orders"
action="mrp_workorder_todo"
parent="menu_mrp_manufacturing"
groups="group_mrp_routings"/>
<menuitem id="menu_mrp_production_report"
name="Manufacturing Orders"
parent="menu_mrp_reporting"
action="mrp_production_report"
sequence="11"/>
<menuitem id="menu_mrp_work_order_report"
name="Work Orders"
parent="menu_mrp_reporting"