[FIX] CRM: do not copy meetings attendees
When duplicating a res.partner, the new partner was added in the list of attendees of previous meeting. Fixes #17285 Closes #17286
This commit is contained in:
parent
d6cf41b67b
commit
140113346d
|
@ -54,7 +54,7 @@ class res_partner(osv.osv):
|
|||
'opportunity_ids': fields.one2many('crm.lead', 'partner_id',\
|
||||
'Leads and Opportunities', domain=[('probability', 'not in', ['0', '100'])]),
|
||||
'meeting_ids': fields.many2many('calendar.event', 'calendar_event_res_partner_rel','res_partner_id', 'calendar_event_id',
|
||||
'Meetings'),
|
||||
'Meetings', copy=False),
|
||||
'phonecall_ids': fields.one2many('crm.phonecall', 'partner_id',\
|
||||
'Phonecalls'),
|
||||
'opportunity_count': fields.function(_opportunity_meeting_phonecall_count, string="Opportunity", type='integer', multi='opp_meet'),
|
||||
|
|
Loading…
Reference in New Issue