From d34307f2f7a43db0939603467f6d880b5bd3a429 Mon Sep 17 00:00:00 2001 From: qdp Date: Tue, 24 Mar 2009 15:35:27 +0100 Subject: [PATCH] [FIX] account_followup module: the level of followup was badly computed (took the higher level of all entries for the given partner instead of the higher level of UNRECONCILED entries for the given partner) [IMP] account_followup module: completed the description of the module bzr revid: qdp@tinyerp.com-20090324143527-06x3w51q6cuu5g6w --- addons/account_followup/__terp__.py | 8 +++++++- addons/account_followup/report/report_followup_print.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/account_followup/__terp__.py b/addons/account_followup/__terp__.py index d626ccdd459..00e86ef2d96 100644 --- a/addons/account_followup/__terp__.py +++ b/addons/account_followup/__terp__.py @@ -37,7 +37,13 @@ It will generate a PDF with all the letters according the the different levels of recall defined. You can define different policies - for different companies.""", + for different companies. + + + Note that if you want to change the followup level for a given partner/account entry, you can do it in the menu: + Financial_Management/Reporting/Follow-Ups/All Receivable Entries + +""", 'author': 'Tiny', 'website': 'http://www.openerp.com', 'depends': ['account'], diff --git a/addons/account_followup/report/report_followup_print.py b/addons/account_followup/report/report_followup_print.py index ba16f392da5..53ad5ce2572 100644 --- a/addons/account_followup/report/report_followup_print.py +++ b/addons/account_followup/report/report_followup_print.py @@ -70,7 +70,7 @@ class report_rappel(report_sxw.rml_parse): li_delay.sort(reverse=True) text = "" a = {} - partner_line = pooler.get_pool(self.cr.dbname).get('account.move.line').search(self.cr, self.uid, [('partner_id','=',partner.id)]) + partner_line = pooler.get_pool(self.cr.dbname).get('account.move.line').search(self.cr, self.uid, [('partner_id','=',partner.id),('reconcile_id','=',False)]) partner_delay = [] context={} context.update({'lang': partner.lang})