From 3162fb7f2f0c8c8158fa43ca4ff7317fbcef2dcb Mon Sep 17 00:00:00 2001 From: oco-odoo Date: Fri, 13 Sep 2019 13:56:50 +0000 Subject: [PATCH] [IMP] account: don't display "preview" button on bills closes odoo/odoo#36876 Signed-off-by: Laurent Smet --- addons/account/views/account_move_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 06aa18f20e6..9c12e64d71b 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -489,9 +489,9 @@ attrs="{'invisible': ['|', '|', ('state', '!=', 'posted'), ('invoice_payment_state', '!=', 'not_paid'), ('type', 'not in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]}" string="Register Payment" groups="account.group_account_invoice"/> - +