[document_page_approval] Fix LINT

This commit is contained in:
Iván Todorovich 2018-04-24 15:50:18 -03:00
parent 59bace071a
commit fffc39a014

View File

@ -102,9 +102,8 @@ class DocumentPageHistory(models.Model):
'You are not authorized to do this.\r\n' 'You are not authorized to do this.\r\n'
'Only approvers with these groups can approve this: ' 'Only approvers with these groups can approve this: '
) % ', '.join( ) % ', '.join(
[g.display_name [g.display_name
for g in rec.page_id.approver_group_ids]) for g in rec.page_id.approver_group_ids]))
)
# Update state # Update state
rec.write({ rec.write({
'state': 'approved', 'state': 'approved',