diff --git a/document_page_approval/document_page_approval.py b/document_page_approval/document_page_approval.py index a4b13a46..1c5e640e 100644 --- a/document_page_approval/document_page_approval.py +++ b/document_page_approval/document_page_approval.py @@ -60,11 +60,11 @@ class document_page_history_wkfl(models.Model): cr, SUPERUSER_ID, 'mail', 'mt_comment')[1] message_obj.create( cr, uid, { - 'res_id': page_history.page_id.id, - 'model': 'document.page', - 'subtype_id': subtype_id, - 'body': _('New version of the document %s' - ' approved.') % page_history.page_id.name + 'res_id': page_history.page_id.id, + 'model': 'document.page', + 'subtype_id': subtype_id, + 'body': _('New version of the document %s' + ' approved.') % page_history.page_id.name }) return True