mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-24 17:38:42 -06:00
[document_page_approval] Fix LINT
This commit is contained in:
parent
59bace071a
commit
fffc39a014
@ -103,8 +103,7 @@ class DocumentPageHistory(models.Model):
|
|||||||
'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',
|
||||||
|
Loading…
Reference in New Issue
Block a user