From 50c8807c3d220581f7d091512a360dfce8e4cd8c Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Sun, 14 May 2023 08:59:27 +0000 Subject: [PATCH] [FIX] website_forum: missing parenthesis for function before this commit, on clicking on Go To Website smart button in forum is not redirecting to the corresponding forum due to missing parenthesis to the function. after this commit, on clicking the Go To Website smart button, user is redirected to the forum. introduced in: https://github.com/odoo/odoo/commit/36c734ab37fdf1d6a245e0e29cfefe3cc46c6d92 closes odoo/odoo#122108 X-original-commit: 6ab323a0eeafe7511db8dd893d8f398544ee08c2 Signed-off-by: Thibault Delavallee (tde) --- addons/website_forum/models/forum_forum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_forum/models/forum_forum.py b/addons/website_forum/models/forum_forum.py index 81efe3335c0..178d926e2f2 100644 --- a/addons/website_forum/models/forum_forum.py +++ b/addons/website_forum/models/forum_forum.py @@ -262,7 +262,7 @@ class Forum(models.Model): def go_to_website(self): self.ensure_one() - website_url = self._compute_website_url + website_url = self._compute_website_url() if not website_url: return False return self.env['website'].get_client_action(self._compute_website_url())