flectra/addons/purchase/test/ui/purchase_users.yml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

29 lines
769 B
YAML

-
Create a user as 'Purchase manager'
-
!record {model: res.users, id: res_users_purchase_manager, view: False}:
company_id: base.main_company
name: Purchase Manager
login: pm
email: purchasemanager@yourcompany.com
-
I added groups for Purchase manager.
-
!record {model: res.users, id: res_users_purchase_manager}:
groups_id:
- purchase.group_purchase_manager
-
Create a user as 'Purchase user'
-
!record {model: res.users, id: res_users_purchase_user, view: False}:
company_id: base.main_company
name: Purchase User
login: pu
email: purchaseuser@yourcompany.com
-
I added groups for Purchase user.
-
!record {model: res.users, id: res_users_purchase_user}:
groups_id:
- purchase.group_purchase_user