[IMP] add access rights in merge_opportunity.yml

bzr revid: fka@tinyerp.com-20130220073236-7v3i73ui0zua4uo9
This commit is contained in:
Foram Katharotiya (OpenERP) 2013-02-20 13:02:36 +05:30
parent 99457c9818
commit 99cb34cee9
4 changed files with 7 additions and 6 deletions

View File

@ -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'

View File

@ -1,5 +1,5 @@
-
Now, check the data with Salesman.
Salesman check the phone calls data.
-
!context
uid: 'crm_res_users_salesman'

View File

@ -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

View File

@ -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")])