From 0bd61b5245e475825fdeb33fb7b9ddb4f378c657 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Thu, 27 Jun 2019 09:01:11 +0000 Subject: [PATCH] [FIX] website_sale: remove unnecessary code on test 559bdc976 was merged with an extra line of code to avoid a bug as the fix was merged in lower version (9efc11c8daa0) and we could not wait for the forward port. Thus, we forced the redirect on `/my` after signup. This code should be removed for the test to really test the behavior. closes odoo/odoo#34406 Signed-off-by: Quentin Smetz (qsm) --- .../static/tests/tours/website_sale_complete_flow.js | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/website_sale/static/tests/tours/website_sale_complete_flow.js b/addons/website_sale/static/tests/tours/website_sale_complete_flow.js index 0456916dd95..0aa9a2d2502 100644 --- a/addons/website_sale/static/tests/tours/website_sale_complete_flow.js +++ b/addons/website_sale/static/tests/tours/website_sale_complete_flow.js @@ -143,7 +143,6 @@ odoo.define('website_sale_tour.tour', function (require) { run: function () { $('.oe_signup_form input[name="password"]').val("1admin@admin"); $('.oe_signup_form input[name="confirm_password"]').val("1admin@admin"); - $('.oe_signup_form input[name="redirect"]').val("/my"); $('.oe_signup_form').submit(); }, },