[IMP]crm_partner_assign: remove partner_id
bzr revid: kjo@tinyerp.com-20120314053440-9es2m8mhj167cwqi
This commit is contained in:
@@ -51,7 +51,7 @@ class crm_partner_report_assign(osv.osv):
|
||||
SELECT
|
||||
coalesce(i.id, p.id - 1000000000) as id,
|
||||
p.id as partner_id,
|
||||
(SELECT country_id FROM res_partner a WHERE a.partner_id=p.id AND country_id is not null limit 1) as country_id,
|
||||
(SELECT country_id FROM res_partner a WHERE a.parent_id=p.id AND country_id is not null limit 1) as country_id,
|
||||
p.grade_id,
|
||||
p.activation,
|
||||
p.date_review,
|
||||
|
||||
Reference in New Issue
Block a user