[IMP] add access rights in merge_opportunity.yml
bzr revid: fka@tinyerp.com-20130220073236-7v3i73ui0zua4uo9
This commit is contained in:
parent
99457c9818
commit
99cb34cee9
|
@ -1,5 +1,8 @@
|
|||
-
|
||||
During a mixed merge (involving leads and opps), data should be handled a certain way following their type (m2o, m2m, text, ...) Start by creating two leads and an opp.
|
||||
During a mixed merge (involving leads and opps), data should be handled a certain way following their type (m2o, m2m, text, ...) Start by creating two leads and an opp and giving the rights of Sales manager.
|
||||
-
|
||||
!context
|
||||
uid: 'crm_res_users_salesmanager'
|
||||
-
|
||||
!record {model: crm.lead, id: test_crm_lead_01}:
|
||||
type: 'lead'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-
|
||||
Now, check the data with Salesman.
|
||||
Salesman check the phone calls data.
|
||||
-
|
||||
!context
|
||||
uid: 'crm_res_users_salesman'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-
|
||||
Create a user as 'Salesmanager'
|
||||
Create a user as 'Salesmanager'
|
||||
-
|
||||
!record {model: res.users, id: crm_res_users_salesmanager}:
|
||||
company_id: base.main_company
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
-
|
||||
Sales manager can delete lead.
|
||||
Sales manager Unlink the Lead.
|
||||
-
|
||||
!context
|
||||
uid: 'crm_res_users_salesmanager'
|
||||
-
|
||||
Sales manager Unlink the Lead.
|
||||
-
|
||||
!python {model: crm.lead}: |
|
||||
self.unlink(cr, uid, [ref("crm_case_4")])
|
||||
|
|
Loading…
Reference in New Issue