[IMP] account_followup: better documentation

bzr revid: qdp-launchpad@openerp.com-20120210085825-a4fyuk8yt21fmvp3
This commit is contained in:
Quentin (OpenERP) 2012-02-10 09:58:25 +01:00
parent 2c2432ad33
commit be597df398
1 changed files with 4 additions and 2 deletions

View File

@ -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