From 51d915dca01df777d05a5e1cd79062aa86854d93 Mon Sep 17 00:00:00 2001 From: Lorenzo Battistini Date: Thu, 23 Apr 2015 10:03:58 +0200 Subject: [PATCH] [FIX] Attributes could be used directly instead of replace --- account_invoice_force_number/invoice_view.xml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/account_invoice_force_number/invoice_view.xml b/account_invoice_force_number/invoice_view.xml index 31bf916d872..3c4ceb40443 100644 --- a/account_invoice_force_number/invoice_view.xml +++ b/account_invoice_force_number/invoice_view.xml @@ -7,11 +7,11 @@ account.invoice - - + + {'invisible': [('state', '!=', 'draft')]} + Force Number + Force invoice number. Use this field if you don't want to use the default numbering + 0 @@ -21,11 +21,11 @@ account.invoice - - + + {'invisible': [('state', '!=', 'draft')]} + Force Number + Force invoice number. Use this field if you don't want to use the default numbering + 0