[FIX] Account : Partner ledger report - Correction Account type filtering

bzr revid: jvo@tinyerp.com-20100527105921-bx14b19r8m67m3ww
This commit is contained in:
Jay (Open ERP)
2010-05-27 16:29:21 +05:30
parent bd3885749a
commit 0e86ee70b4
+2 -2
View File
@@ -167,9 +167,9 @@ class third_party_ledger(rml_parse.rml_parse):
#
#new_ids = [id for (id,) in self.cr.fetchall()]
if data['form']['result_selection'] == 'supplier':
self.ACCOUNT_TYPE = ['receivable']
elif data['form']['result_selection'] == 'customer':
self.ACCOUNT_TYPE = ['payable']
elif data['form']['result_selection'] == 'customer':
self.ACCOUNT_TYPE = ['receivable']
elif data['form']['result_selection'] == 'all':
self.ACCOUNT_TYPE = ['payable','receivable']