[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
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user