When a job is cretated, the current company is stored into the job info. Nevertheless, when a job is performed, it seems that the company is not restored into the running context...
Do I miss something or should we modify the func method to call the with_company method on the recordset before the call o the dlayed method?
def func(self):
recordset = self.recordset.with_context(job_uuid=self.uuid).with_company(self.company_id)
return getattr(recordset, self.method_name)