mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-22 12:06:57 -06:00
[document_page_approval] Fix LINT
This commit is contained in:
parent
59bace071a
commit
fffc39a014
@ -102,9 +102,8 @@ class DocumentPageHistory(models.Model):
|
||||
'You are not authorized to do this.\r\n'
|
||||
'Only approvers with these groups can approve this: '
|
||||
) % ', '.join(
|
||||
[g.display_name
|
||||
for g in rec.page_id.approver_group_ids])
|
||||
)
|
||||
[g.display_name
|
||||
for g in rec.page_id.approver_group_ids]))
|
||||
# Update state
|
||||
rec.write({
|
||||
'state': 'approved',
|
||||
|
Loading…
Reference in New Issue
Block a user