From 606abf08f2f8d24ced77395a90ceafcb3a01c88b Mon Sep 17 00:00:00 2001 From: "Nicolas (vin)" Date: Tue, 18 Aug 2020 07:15:25 +0000 Subject: [PATCH] [IMP] account: hide switch into refund/credit note from the tree view Swithing into notes should be on a case by case basis, thus it is not that usefull to allow to it on the tree view. Task id #2321110 closes odoo/odoo#56116 Signed-off-by: oco-odoo --- addons/account/views/account_move_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index a42a1183eef..c0d7d5d3e08 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -1411,6 +1411,7 @@ code + form if records: action = records.action_switch_invoice_into_refund_credit_note()