Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2613 Prikazi

hi all i want unlink failed job in my class

how can i do that ?


    @job(default_channel='root')
    @api.model
    def process_incoming_events(self, event):
        try:
            do...
        catch:
            job.unlink()

Avatar
Opusti