From 13bfa609a544c6b7f9685a8a4818d897b72867ef Mon Sep 17 00:00:00 2001 From: Glen Sojo Date: Mon, 27 Jul 2015 15:06:29 -0600 Subject: [PATCH] [FIX] - Fixed syntax error. --- document_page_approval/document_page_approval.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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