python - Group Manager Record Rule -
i create different groups(a,b & c) different users(1 6). group related user 1, user 2 , manager a. group b related user 3, user 4 , manager b. group c related user 5, user 6 manager c respectively . , want every group manager can see own group users , assign task user only. no group manager can see other group record. so, can me please.
here fields groups , users:
_columns = {
'group_id': fields.many2one('res.groups', string='team', required=true), 'assign_to': fields.many2one('res.users', 'assigned to:', required=true),
}
Comments
Post a Comment