Merge PR #536 into 12.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2020-07-28 10:57:16 +00:00

View File

@@ -16,3 +16,4 @@ class IrUiView(models.Model):
result["res_company"] = self.env["res.company"].browse(
self.env.context["allowed_company_ids"][0]
).sudo()
return result