mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-24 17:38:42 -06:00
[FIX] - Fixed syntax error.
This commit is contained in:
parent
6c3c149b7e
commit
13bfa609a5
@ -60,11 +60,11 @@ class document_page_history_wkfl(models.Model):
|
|||||||
cr, SUPERUSER_ID, 'mail', 'mt_comment')[1]
|
cr, SUPERUSER_ID, 'mail', 'mt_comment')[1]
|
||||||
message_obj.create(
|
message_obj.create(
|
||||||
cr, uid, {
|
cr, uid, {
|
||||||
'res_id': page_history.page_id.id,
|
'res_id': page_history.page_id.id,
|
||||||
'model': 'document.page',
|
'model': 'document.page',
|
||||||
'subtype_id': subtype_id,
|
'subtype_id': subtype_id,
|
||||||
'body': _('New version of the document %s'
|
'body': _('New version of the document %s'
|
||||||
' approved.') % page_history.page_id.name
|
' approved.') % page_history.page_id.name
|
||||||
})
|
})
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user