[IMP,FIX]: partner_crm: Improvement and fixes for changes in crm for removing crm.case and merged lead and opportunity
bzr revid: rpa@tinyerp.com-20100506095400-xpk2nwfmx6q8m0y8
This commit is contained in:
@@ -26,7 +26,7 @@ class res_partner(osv.osv):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
_columns = {
|
||||
'opportunity_ids': fields.one2many('crm.lead', 'partner_id', 'Opportunities'),
|
||||
'opportunity_ids': fields.one2many('crm.lead', 'partner_id', 'Opportunities', domain=[('type', '=', 'opportunity')]),
|
||||
'meeting_ids': fields.one2many('crm.meeting', 'partner_id',\
|
||||
'Meetings'),
|
||||
'phonecall_ids': fields.one2many('crm.phonecall', 'partner_id', 'Phonecalls'),
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<notebook position="inside">
|
||||
<page string="Other Info">
|
||||
<group col="2" colspan="4">
|
||||
<field name="opportunity_ids" colspan="4" nolabel="1" />
|
||||
<field name="opportunity_ids" colspan="4" nolabel="1" domain="[('type', '=', 'opportunity')]" />
|
||||
<field name="meeting_ids" colspan="4" nolabel="1" />
|
||||
<field name="phonecall_ids" colspan="4" nolabel="1" />
|
||||
</group>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
|
||||
"access_crm_opportunity_partner","crm.opportunity","crm.model_crm_opportunity","base.group_user",1,0,0,0
|
||||
"access_crm_meeting_partner_manager","crm.meeting","crm.model_crm_meeting","base.group_partner_manager",1,0,0,0
|
||||
"access_crm_meeting_user","crm.meeting","crm.model_crm_meeting","base.group_user",1,0,0,0
|
||||
"access_crm_phonecall_partner_manager","crm.phonecall","crm.model_crm_phonecall","base.group_partner_manager",1,0,0,0
|
||||
|
||||
|
Reference in New Issue
Block a user