Skip to content

Commit

Permalink
[FIX] document_page_approval: post with source template
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgarRetes committed Oct 8, 2024
1 parent b72ca86 commit 19db9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document_page_approval/models/document_page_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def action_to_approve(self):
[("groups_id", "in", guids), ("groups_id", "in", approver_gid.id)]
)
rec.message_subscribe(partner_ids=users.mapped("partner_id").ids)
rec.message_post_with_source(template.id)
rec.message_post_with_source(template)
else:
# auto-approve if approval is not required
rec.action_approve()
Expand Down

0 comments on commit 19db9cf

Please sign in to comment.