From 9f3d3eb8f511d574364c92f60f221e605c7dc246 Mon Sep 17 00:00:00 2001 From: Hiral Bhavsar Date: Wed, 15 May 2019 13:08:29 +0000 Subject: [PATCH] [IMP] mrp(_account): clean the controlpanel action menu For model 'mrp.production', rename the action menu 'Mrp: Plan Production Orders' by 'Plan orders' and set it for the list view only. For the model 'product.template' and 'product.product', rename the menu 'Compute Price from BoM' by 'Compute cost from BoM' and set it for the list view only. Linked to task 1984526 Related to PR #33720 --- addons/mrp/views/mrp_production_views.xml | 1 + addons/mrp_account/views/product_views.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/addons/mrp/views/mrp_production_views.xml b/addons/mrp/views/mrp_production_views.xml index 6fa48400dda..507aa9ab1e1 100644 --- a/addons/mrp/views/mrp_production_views.xml +++ b/addons/mrp/views/mrp_production_views.xml @@ -26,6 +26,7 @@ Mrp: Plan Production Orders + list code records.button_plan() diff --git a/addons/mrp_account/views/product_views.xml b/addons/mrp_account/views/product_views.xml index 262a6675198..a17af573ebd 100644 --- a/addons/mrp_account/views/product_views.xml +++ b/addons/mrp_account/views/product_views.xml @@ -58,6 +58,7 @@ Compute Price from BoM + list code if records: @@ -69,6 +70,7 @@ Compute Price from BoM + list code if records: