From f6f9671963640dbd7de33a8cc4597c9d9db7cfba Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Thu, 21 Jan 2021 17:20:59 +0000 Subject: [IMP] test_website: add tests for controller slug matching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Be sure that we have a beautiful error page and not a black/white error Be sure that slug_matching with 308 redirect works as expected and don't raise a RequestUID exception. closes odoo/odoo#64889 Signed-off-by: Jérémy Kersten (jke) --- addons/test_website/data/test_website_data.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'addons/test_website/data/test_website_data.xml') diff --git a/addons/test_website/data/test_website_data.xml b/addons/test_website/data/test_website_data.xml index 393b6631772..0f9fc54cf73 100644 --- a/addons/test_website/data/test_website_data.xml +++ b/addons/test_website/data/test_website_data.xml @@ -2,6 +2,15 @@ + + Public user: read only website published + + + [('website_published','=', True)] + + + + Test View -- cgit v1.2.3