Skip to content

RetryableJobError does not Rollback Transaction #261

@wpichler

Description

@wpichler

Hi all,

i have an issue with the RetryableJobError - when i raise this error in the middle of a job (eg. some data already got changed), then it will not issue a Rollback - because it does not raise the error forward to the main odoo code - so the transaction will get commited.

Is this really a wanted behaviour ?

It would be great if we could add here an option to the RetryableJobError to rollback the transaction..

Code in question is here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions