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:
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:
queue/queue_job/controllers/main.py
Line 108 in a5afdb3