[IMP]crm_partner_assign: remove partner_id

bzr revid: kjo@tinyerp.com-20120314053440-9es2m8mhj167cwqi
This commit is contained in:
Kuldeep Joshi (OpenERP)
2012-03-14 11:04:40 +05:30
parent f2bf6bfc81
commit e715d0dc5f
@@ -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,