[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
This commit is contained in:
qdp 2009-03-24 15:35:27 +01:00
parent 6bde5f5a7f
commit d34307f2f7
2 changed files with 8 additions and 2 deletions

View File

@ -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'],

View 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})