From be597df39873a05a6f0ceeec9f5629096e15e793 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Fri, 10 Feb 2012 09:58:25 +0100 Subject: [PATCH] [IMP] account_followup: better documentation bzr revid: qdp-launchpad@openerp.com-20120210085825-a4fyuk8yt21fmvp3 --- addons/account_followup/wizard/account_followup_print.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/account_followup/wizard/account_followup_print.py b/addons/account_followup/wizard/account_followup_print.py index 1198c5d4fbf..56c017d73f3 100644 --- a/addons/account_followup/wizard/account_followup_print.py +++ b/addons/account_followup/wizard/account_followup_print.py @@ -88,8 +88,10 @@ class account_followup_stat_by_partner(osv.osv): def init(self, cr): tools.drop_view_if_exists(cr, 'account_followup_stat_by_partner') # Here we don't have other choice but to create a virtual ID based on the concatenation - # of the partner_id and the company_id. An assumption that the number of companies will - # not reach 10 000 records is made, what should be enough for a time. + # of the partner_id and the company_id, because if a partner is shared between 2 companies, + # we want to see 2 lines for him in this table. It means that both company should be able + # to send him followups separately . An assumption that the number of companies will not + # reach 10 000 records is made, what should be enough for a time. cr.execute(""" create or replace view account_followup_stat_by_partner as ( SELECT