1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/approvals/tests/test_ui.py
2024-12-10 09:04:09 +07:00

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')