flectra/addons/stock/test/stock_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
725 B
YAML

-
Create a user as 'Stock Manager'
-
!record {model: res.users, id: res_users_stock_manager, view: False}:
company_id: base.main_company
name: Stock Manager
login: sam
email: stockmanager@yourcompany.com
-
I added groups for Stock Manager.
-
!record {model: res.users, id: res_users_stock_manager}:
groups_id:
- stock.group_stock_manager
-
Create a user as 'Stock User'
-
!record {model: res.users, id: res_users_stock_user, view: False}:
company_id: base.main_company
name: Stock User
login: sau
email: stockuser@yourcompany.com
-
I added groups for Stock User.
-
!record {model: res.users, id: res_users_stock_user}:
groups_id:
- stock.group_stock_user