mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-24 21:52:02 +02:00
Initial commit: Hr packages
This commit is contained in:
commit
62531cd146
2820 changed files with 1432848 additions and 0 deletions
17
odoo-bringout-oca-ocb-hr/hr/tests/test_ui.py
Normal file
17
odoo-bringout-oca-ocb-hr/hr/tests/test_ui.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo.tests import HttpCase, tagged, new_test_user
|
||||
|
||||
@tagged('-at_install', 'post_install')
|
||||
class TestEmployeeUi(HttpCase):
|
||||
def test_employee_profile_tour(self):
|
||||
user = new_test_user(self.env, login='davidelora', groups='base.group_user')
|
||||
|
||||
self.env['hr.employee'].create([{
|
||||
'name': 'Johnny H.',
|
||||
}, {
|
||||
'name': 'David Elora',
|
||||
'user_id': user.id,
|
||||
}])
|
||||
|
||||
self.start_tour("/web", 'hr_employee_tour', login="davidelora")
|
||||
Loading…
Add table
Add a link
Reference in a new issue