Merge PR #778 into 13.0

Signed-off-by AaronHForgeFlow
pull/779/head
OCA-git-bot 2021-04-29 11:35:04 +00:00
commit 3981e337ad
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class StatementCommon(models.AbstractModel):
def _get_company(self):
return (
self.env["res.company"].browse(self.env.context.get("force_company"))
or self.env.user.company_id
or self.env.company
)
name = fields.Char()