mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -06:00
Merge pull request #61 from ClearCorp-dev/8.0-document_page_approval-gs
[FIX] - document-page-approval: Fixes #60 url not valid when website module is installed.
This commit is contained in:
commit
e508a61392
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user