def METHOD_NAME(self):
    _logger.info('Running update prices from planned cron')
    if self._context.get('force_company'):
        self = self.with_company(self._context.get('force_company'))
    else:
        self = self.with_company(self.env['res.company'].search([], limit=1).id)
    return self.with_context(bypass_base_automation=True)._update_prices_from_planned()