Skip to content

[19.0][FIX] document_page_approval: raise the state error in action_approve - #686

Open
deeniiz wants to merge 1 commit into
OCA:19.0from
nuobit:19.0-fix-document_page_approval-approve-state
Open

deeniiz wants to merge 1 commit into
OCA:19.0from
nuobit:19.0-fix-document_page_approval-approve-state

Conversation

@deeniiz

@deeniiz deeniiz commented Nov 27, 2026

Copy link
Copy Markdown

On 19.0, action_approve builds the error for a wrong state but does not raise it, so a cancelled or already approved change request can still be approved. 14.0 and 18.0 raise it.

@OCA-git-bot OCA-git-bot added series:19.0 mod:document_page_approval Module document_page_approval labels Nov 27, 2026
@deeniiz

deeniiz commented Nov 27, 2026

Copy link
Copy Markdown
Author

@eantones, can you please review it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:document_page_approval Module document_page_approval series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants