From 0a856c7f6dcdababa4a86f2fb152db0818bc743d Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Mon, 20 Oct 2008 17:30:32 +0530 Subject: [PATCH] partner ledger filter prob solved bzr revid: patelamit2003@gmail.com-20081020120032-iq91mpqe282e548s --- addons/account/report/third_party_ledger.py | 2 +- addons/account/wizard/wizard_third_party_ledger.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/account/report/third_party_ledger.py b/addons/account/report/third_party_ledger.py index afc5635527c..6d7f7a9bf16 100755 --- a/addons/account/report/third_party_ledger.py +++ b/addons/account/report/third_party_ledger.py @@ -204,7 +204,7 @@ class third_party_ledger(rml_parse.rml_parse): "FROM account_move_line AS line, account_account AS account " \ "WHERE line.partner_id IS NOT NULL " \ "AND line.account_id = account.id " \ - "AND line.date < %s " \ + "AND line.date <= %s " \ "AND line.reconcile_id IS NULL " \ # "AND line.account_id IN (" + self.account_ids + ") " \ " " + PARTNER_REQUEST + " " \ diff --git a/addons/account/wizard/wizard_third_party_ledger.py b/addons/account/wizard/wizard_third_party_ledger.py index f4b9c5aadfc..7a638f3d0db 100755 --- a/addons/account/wizard/wizard_third_party_ledger.py +++ b/addons/account/wizard/wizard_third_party_ledger.py @@ -79,8 +79,8 @@ period_fields = { 'required':True }, 'soldeinit':{'string':"Inclure les soldes initiaux",'type':'boolean'}, - 'reconcil':{'string':" Inclure les ecritures reconsiliees",'type':'boolean'}, - 'page_split':{'string':"Un partenaire par page",'type':'boolean'}, + 'reconcil':{'string':" Include Reconciled Entries",'type':'boolean'}, + 'page_split':{'string':"One Partner Per Page",'type':'boolean'}, 'date1': {'string':' Start date', 'type':'date', 'required':True, 'default': lambda *a: time.strftime('%Y-01-01')}, 'date2': {'string':'End date', 'type':'date', 'required':True, 'default': lambda *a: time.strftime('%Y-%m-%d')}, }