From 4e593abb2f191ef30fc99c25cd91c82d00b808d8 Mon Sep 17 00:00:00 2001 From: hch-odoo Date: Tue, 4 Jul 2017 20:07:30 +0530 Subject: [PATCH] [IMP] account: Show cancel button only when account_cancel is installed Because 'Allow Cancelling Entries' option for journals is made available only when the 'account_cancel' module is installed Was PR #17216 --- addons/account/views/account_invoice_view.xml | 2 -- addons/account/views/account_view.xml | 1 - addons/account_cancel/views/account_views.xml | 16 ++++++++++++++-- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml index 619476fb240..27b705532fe 100644 --- a/addons/account/views/account_invoice_view.xml +++ b/addons/account/views/account_invoice_view.xml @@ -220,7 +220,6 @@