diff options
| author | Gery Debongnie <ged@openerp.com> | 2014-05-07 12:09:54 +0200 |
|---|---|---|
| committer | Gery Debongnie <ged@openerp.com> | 2014-05-07 12:09:54 +0200 |
| commit | 9f3abe3ea4d040b0ded7c4384077d799ecb24ab2 (patch) | |
| tree | dc93b9026e4399e7f0c47d405f756a8ef397994e /addons/analytic_user_function | |
| parent | 88cef3a8ebb7812241a948be5ad25a980a4fdb23 (diff) | |
[FIX] code cleanup (addon crm)
improves the method to count opportunities/meetings/phonecalls in res_partner.py. It was bugged in two different way: the phonecall_count field was counting the number of meetings and not of phone calls, and it was in the try statement, so it might give an incorrect value if an exception occurs in the computation of opportunity/meeting
Also, remove useless meeting_ids one2many field in crm_lead.py and improves the method meeting_count
bzr revid: ged@openerp.com-20140507100954-1aqnd93iu5wsixob
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
