From e1ea463ff8f8e072118fefe02a6f0e5d090256e4 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Tue, 7 Jul 2009 15:49:50 +0530 Subject: [PATCH] [FIX] Account : Cancelled invoice will not be listed under unpaid state lp bug: https://launchpad.net/bugs/396254 fixed bzr revid: jvo@tinyerp.com-20090707101950-roh1y3ovvgq793xt --- addons/account/account_invoice_view.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 3da8436a1da..5b06a40acb1 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -482,7 +482,7 @@ account.invoice form tree,form,calendar,graph - [('state','!=','draft'),('reconciled','=',False),('type','=','out_invoice')] + [('state','not in',['draft','cancel']),('reconciled','=',False),('type','=','out_invoice')] {'type':'out_invoice'} @@ -526,7 +526,7 @@ account.invoice form tree,form,calendar,graph - [('state','!=','draft'),('reconciled','=',False),('type','=','in_invoice')] + [('state','not in',['draft','cancel']),('reconciled','=',False),('type','=','in_invoice')] {'type':'in_invoice'} @@ -570,7 +570,7 @@ account.invoice form tree,form,calendar,graph - [('state','!=','draft'),('reconciled','=',False),('type','=','out_refund')] + [('state','not in',['draft','cancel']),('reconciled','=',False),('type','=','out_refund')] {'type':'out_refund'} @@ -614,7 +614,7 @@ account.invoice form tree,form,calendar,graph - [('state','!=','draft'),('reconciled','=',False),('type','=','in_refund')] + [('state','not in',['draft','cancel']),('reconciled','=',False),('type','=','in_refund')] {'type':'in_refund'}