Skip to content

Commit

Permalink
[FIX] website_forum: missing parenthesis for function
Browse files Browse the repository at this point in the history
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: odoo@36c734a

closes odoo#121338

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
  • Loading branch information
niyasraphy committed May 15, 2023
1 parent f94fe1d commit 2f22565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/website_forum/models/forum.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def get_tags_first_char(self):

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(website_url)
Expand Down

0 comments on commit 2f22565

Please sign in to comment.