[FIX] mrp: Allow user to add manufacturing orders to dashboard

Currently we can not add Manufacturing orders Report (graph view) to the
board because of missing context keys (`allowed_company_ids`)

We just have to add the key in the context of `mrp_production_report`
opw-2813295

closes odoo/odoo#90688

X-original-commit: ef789170ce2f1553b325b379aac4452e473de1e9
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: Achraf <abz@odoo.com>
This commit is contained in:
Achraf (abz)
2022-05-06 11:21:56 +02:00
parent 3e1b59a57b
commit 1e615e1bae
+2 -1
View File
@@ -592,7 +592,8 @@
'search_default_scheduled_date': 2,
'search_default_filter_confirmed': True,
'search_default_filter_planned': True,
'default_company_id': allowed_company_ids[0]
'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">