summaryrefslogtreecommitdiff
path: root/addons/website/models/ir_actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/models/ir_actions.py')
-rw-r--r--addons/website/models/ir_actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/models/ir_actions.py b/addons/website/models/ir_actions.py
index f26d6263004..4add5587d7f 100644
--- a/addons/website/models/ir_actions.py
+++ b/addons/website/models/ir_actions.py
@@ -38,7 +38,7 @@ class ServerAction(models.Model):
def _get_website_url(self):
for action in self:
if action.state == 'code' and action.website_published:
- action.website_url = self._compute_website_url(action.website_path, action.xml_id)
+ action.website_url = action._compute_website_url(action.website_path, action.xml_id)
@api.model
def _get_eval_context(self, action):