[FIX] account_followup module: the level of followup was badly computed (took the...
authorqdp <qdp@tinyerp.com>
Tue, 24 Mar 2009 14:35:27 +0000 (15:35 +0100)
committerqdp <qdp@tinyerp.com>
Tue, 24 Mar 2009 14:35:27 +0000 (15:35 +0100)
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
addons/account_followup/report/report_followup_print.py

index d626ccd..00e86ef 100644 (file)
 
     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'],
index ba16f39..53ad5ce 100644 (file)
@@ -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})