Skip to content

[18.0][IMP] sale_exception: Use hook to popup exception after rollback#4255

Open
grindtildeath wants to merge 8 commits intoOCA:18.0from
camptocamp:18.0-imp-sale_exception_rollback_popup
Open

[18.0][IMP] sale_exception: Use hook to popup exception after rollback#4255
grindtildeath wants to merge 8 commits intoOCA:18.0from
camptocamp:18.0-imp-sale_exception_rollback_popup

Conversation

@grindtildeath
Copy link
Copy Markdown
Contributor

With OCA/server-tools#3590 changing the way exceptions are detected, the error raising doesn't allow to call _popup_exception as we used to, but we can use the new hook to have the popup displayed smoothly.

Depends on:

@grindtildeath grindtildeath changed the title [IMP] sale_exception: Use hook to popup exception after rollback [18.0][IMP] sale_exception: Use hook to popup exception after rollback Apr 6, 2026
With OCA/server-tools#3590 changing the way exceptions are detected,
the error raising doesn't allow to call `_popup_exception` as we used
to, but we can use the new hook to have the popup displayed smoothly.
…tted

Since main transaction is rollbacked in the new version of base_exception
we need a dedicated transaction to persist the exceptions on the sale order
lines.
@grindtildeath grindtildeath force-pushed the 18.0-imp-sale_exception_rollback_popup branch from e30bc31 to 0ec20a9 Compare April 29, 2026 09:00
@OCA-git-bot OCA-git-bot added the mod:sale_exception_product_sale_manufactured_for Module sale_exception_product_sale_manufactured_for label Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:sale_exception_product_sale_manufactured_for Module sale_exception_product_sale_manufactured_for mod:sale_exception Module sale_exception series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants