Skip to content
Permalink
Browse files

[FIX] hr_timesheet: x2many value in test

  • Loading branch information...
rco-odoo committed May 15, 2019
1 parent 4c201c1 commit 41e670f20821540cc14eaa63aea939606a1174a8
Showing with 3 additions and 3 deletions.
  1. +3 −3 addons/hr_timesheet/tests/test_timesheet.py
@@ -48,19 +48,19 @@ def setUp(self):
'name': 'User Employee',
'login': 'user_employee',
'email': 'useremployee@test.com',
'groups_id': [(4, self.ref('hr_timesheet.group_hr_timesheet_user'))],
'groups_id': [(6, 0, [self.ref('hr_timesheet.group_hr_timesheet_user')])],
})
self.user_employee2 = self.env['res.users'].create({
'name': 'User Employee 2',
'login': 'user_employee2',
'email': 'useremployee2@test.com',
'groups_id': [(4, self.ref('hr_timesheet.group_hr_timesheet_user'))],
'groups_id': [(6, 0, [self.ref('hr_timesheet.group_hr_timesheet_user')])],
})
self.user_manager = self.env['res.users'].create({
'name': 'User Officer',
'login': 'user_manager',
'email': 'usermanager@test.com',
'groups_id': [(4, self.ref('hr_timesheet.group_timesheet_manager'))],
'groups_id': [(6, 0, [self.ref('hr_timesheet.group_timesheet_manager')])],
})
# employees
self.empl_employee = self.env['hr.employee'].create({

0 comments on commit 41e670f

Please sign in to comment.
You can’t perform that action at this time.