summaryrefslogtreecommitdiff
path: root/addons/stock/tests/test_report_tours.py
blob: 0958ed55c2670902a8998930fb75a2a5864ee546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import odoo
from odoo.tests import Form, HttpCase, tagged


@tagged('-at_install', 'post_install')
class TestStockReportTour(HttpCase):
    def setUp(self):
        super().setUp()

    def _get_report_url(self):
        return '/web#&model=product.template&action=stock.product_template_action_product'


    def test_stock_route_diagram_report(self):
        """ Open the route diagram report."""
        url = self._get_report_url()

        self.start_tour(url, 'test_stock_route_diagram_report', login='admin', timeout=180)