addons14/queue_job/models/queue_job.py
def open_related_action(self):
        """Open the related action associated to the job"""
        self.ensure_one()
        job = Job.load(self.env, self.uuid)
        action = job.related_action()
        if action is None:
            raise exceptions.UserError(_("No action available for this job"))
        return action
Open the related action associated to the job
Open the related action associated to the job
Open the related action associated to the job
def open_related_action(self):
        self.ensure_one()
        job = Job.load(self.env, self.uuid)
        action = job.related_action()
        if action is None:
            raise exceptions.UserError(_("No action available for this job"))
        return action
def open_related_action ( self ) : self . ensure_one ( ) job = Job . load ( self . env , self . uuid ) action = job . related_action ( ) if action is None : raise exceptions . UserError ( _ ( "No action available for this job" ) ) return action
Open the related action associated to the job
Open the related action associated to the job
"""Open the related action associated to the job"""
self