[IMP]only manager can cancel lead so give access rights of manager for test
bzr revid: sgo@tinyerp.com-20130626115947-idn10u0vtvkrvtb8
This commit is contained in:
parent
2e272a7687
commit
ff73b066ed
|
@ -2,7 +2,7 @@
|
|||
I set a new sale team (with Marketing at parent) and I cancel unqualified lead giving access rights of salesman.
|
||||
-
|
||||
!context
|
||||
uid: 'crm_res_users_salesman'
|
||||
uid: 'crm_res_users_salesmanager'
|
||||
-
|
||||
!python {model: crm.lead}: |
|
||||
section_id = self.pool.get('crm.case.section').create(cr, uid, {'name': "Phone Marketing", 'parent_id': ref("crm.crm_case_section_2")})
|
||||
|
|
Loading…
Reference in New Issue