summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorJay (Open ERP) <jvo@tinyerp.com>2010-05-27 16:29:21 +0530
committerJay (Open ERP) <jvo@tinyerp.com>2010-05-27 16:29:21 +0530
commit0e86ee70b47eb3965d8413f42e737efe0d78bb3a (patch)
treed9a83381e2c158033f7db59d84360a7d7d0c167b /addons
parentbd3885749af619b46768ee75fb76dde5a901ecea (diff)
[FIX] Account : Partner ledger report - Correction Account type filtering
bzr revid: jvo@tinyerp.com-20100527105921-bx14b19r8m67m3ww
Diffstat (limited to 'addons')
-rw-r--r--addons/account/report/third_party_ledger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/report/third_party_ledger.py b/addons/account/report/third_party_ledger.py
index 1dca4dfb64a..c10fcb33313 100644
--- a/addons/account/report/third_party_ledger.py
+++ b/addons/account/report/third_party_ledger.py
@@ -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']