forked from Mapan/odoo17e
16 lines
547 B
Python
16 lines
547 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo.tests import tagged
|
|
from odoo.addons.base.tests.common import HttpCaseWithUserDemo
|
|
|
|
|
|
@tagged('-at_install', 'post_install')
|
|
class TestUi(HttpCaseWithUserDemo):
|
|
|
|
def test_ui(self):
|
|
self.env.ref('approvals.approval_category_data_business_trip').write({
|
|
'approver_ids': [(5, 0, 0), (0, 0, {'user_id': self.env.ref('base.user_admin').id})],
|
|
})
|
|
self.start_tour("/web", 'approvals_tour', login='admin')
|