From e102a2d686318bb1c9ece05e28a5c515525800f1 Mon Sep 17 00:00:00 2001 From: "Bharat (OpenERP)" Date: Wed, 7 Dec 2011 18:12:54 +0530 Subject: [PATCH] [FIX] account : can't send a mail to partner from Send followups wizard lp bug: https://launchpad.net/bugs/898619 fixed bzr revid: bde@tinyerp.com-20111207124254-2mykmcs3thxvxev5 --- addons/account_followup/report/account_followup_report.py | 2 +- addons/account_followup/wizard/account_followup_print.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account_followup/report/account_followup_report.py b/addons/account_followup/report/account_followup_report.py index c2a842cfd4c..420ca92b289 100644 --- a/addons/account_followup/report/account_followup_report.py +++ b/addons/account_followup/report/account_followup_report.py @@ -68,7 +68,7 @@ class account_followup_stat(osv.osv): cr.execute(""" create or replace view account_followup_stat as ( SELECT - l.id as id, + l.partner_id AS id, l.partner_id AS partner_id, min(l.date) AS date_move, max(l.date) AS date_move_last, diff --git a/addons/account_followup/wizard/account_followup_print.py b/addons/account_followup/wizard/account_followup_print.py index ea1083f26ff..014fa2bb326 100644 --- a/addons/account_followup/wizard/account_followup_print.py +++ b/addons/account_followup/wizard/account_followup_print.py @@ -93,7 +93,7 @@ class account_followup_stat_by_partner(osv.osv): cr.execute(""" create or replace view account_followup_stat_by_partner as ( SELECT - l.partner_id * 10000 + l.company_id as id, + l.partner_id AS id, l.partner_id AS partner_id, min(l.date) AS date_move, max(l.date) AS date_move_last,