mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 20:02:18 -06:00
[FIX] - document-page-approval: Fixes #60 url not valid when website module is installed.
This commit is contained in:
committed by
FernandoRomera
parent
c316622261
commit
08540fc1b0
@@ -134,7 +134,7 @@ class document_page_history_wkfl(models.Model):
|
|||||||
)
|
)
|
||||||
|
|
||||||
page.get_page_url = (
|
page.get_page_url = (
|
||||||
'{}/#db={}&id={}&view_type=form&'
|
'{}/web#db={}&id={}&view_type=form&'
|
||||||
'model=document.page.history').format(
|
'model=document.page.history').format(
|
||||||
base_url,
|
base_url,
|
||||||
self.env.cr.dbname,
|
self.env.cr.dbname,
|
||||||
|
|||||||
Reference in New Issue
Block a user