[MIG] website_rma: Migration to 13.0

This commit is contained in:
Ernesto Tejeda
2020-12-01 10:21:35 -05:00
committed by iwkse
parent 9f937c9462
commit 16b9dd427f
15 changed files with 874 additions and 29 deletions

View File

@@ -8,7 +8,7 @@ class TestWebsiteRma(HttpCase):
def setUp(self):
super().setUp()
self.product = self.env["product.product"].create(
{"name": "Website rma 1", "type": "product",}
{"name": "Website rma 1", "type": "product"}
)
picking_type = self.env["stock.picking.type"].search(
[
@@ -35,12 +35,7 @@ class TestWebsiteRma(HttpCase):
picking.button_validate()
def test_website_form_request_rma(self):
self.browser_js(
url_path="/my",
code="odoo.__DEBUG__.services['web_tour.tour']" ".run('request_rma')",
ready="odoo.__DEBUG__.services['web_tour.tour']" ".tours.request_rma.ready",
login="admin",
)
self.start_tour("/my", "request_rma", login="admin")
rma = self.env["rma"].search(
[
("operation_id", "!=", False),