From 6eef0ea0b79fc34ac8aa6f8cd140ea88eadad175 Mon Sep 17 00:00:00 2001 From: Hiral Bhavsar Date: Thu, 16 May 2019 13:49:25 +0000 Subject: [PATCH] [IMP] lunch: clean the controlpanel actions - For the model 'lunch.order', rename the actions menu 'Lunch: Receive meals' by 'Mark as received' and 'Lunch: Cancel meals' by 'Cancel'. - For the model 'lunch.product', remove the action menu 'Lunch: Archive/Restore products' Linked to task 1984526 Related to PR #33720 --- addons/lunch/data/lunch_data.xml | 2 ++ addons/lunch/views/lunch_views.xml | 9 --------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/addons/lunch/data/lunch_data.xml b/addons/lunch/data/lunch_data.xml index 30b3ce4b53c..eaebd47d2e0 100644 --- a/addons/lunch/data/lunch_data.xml +++ b/addons/lunch/data/lunch_data.xml @@ -5,6 +5,7 @@ Lunch: Receive meals + list code records.action_confirm() @@ -13,6 +14,7 @@ Lunch: Cancel meals + list code records.action_cancel() diff --git a/addons/lunch/views/lunch_views.xml b/addons/lunch/views/lunch_views.xml index 69fda39e04c..88e5d61a280 100644 --- a/addons/lunch/views/lunch_views.xml +++ b/addons/lunch/views/lunch_views.xml @@ -22,13 +22,4 @@ - - - Lunch: Archive/Restore products - ir.actions.server - - - code - records.toggle_active() -