2 Salesman check the phone calls data so test with the access rights of salesman.
5 uid: 'crm_res_users_salesman'
7 I schedule a phone call with a customer.
9 !python {model: crm.phonecall2phonecall}: |
10 context.update({'active_model': 'crm.phonecall', 'active_ids': [ref("crm.crm_phonecall_6")], 'active_id': ref("crm.crm_phonecall_6")})
11 res_id = self.create(cr, uid, {'name': "Proposition de réduction"}, context=context)
12 self.action_schedule(cr, uid, [res_id], context=context)
14 I schedule a meeting based on this phone call.
16 !python {model: crm.phonecall}: |
17 self.action_make_meeting(cr, uid, [ref("crm.crm_phonecall_6")])