summaryrefslogtreecommitdiff
path: root/addons/account/tests/test_tour.py
blob: 8dc70195f36cb91215950487a93da8b1a51ac02e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Part of Odoo. See LICENSE file for full copyright and licensing details.

import odoo.tests


@odoo.tests.tagged('post_install', '-at_install')
class TestUi(odoo.tests.HttpCase):

    def test_01_account_tour(self):
        # This tour doesn't work with demo data on runbot
        all_moves = self.env['account.move'].search([('move_type', '!=', 'entry')])
        all_moves.button_draft()
        all_moves.posted_before = False
        all_moves.unlink()
        self.start_tour("/web", 'account_tour', login="admin")