When there is no intersection between the allowed companies of the current user and the target user, the `with_user` would lead to the company check always failing. opw-2197955 closes odoo/odoo#46606 X-original-commit: ceee2c05f8a4fc69b8ae34469ac56a055ba7b7cf Signed-off-by: Olivier Dony (odo) <odo@openerp.com>