Browse Source

Merge PR #778 into 13.0

Signed-off-by AaronHForgeFlow
pull/779/head
OCA-git-bot 4 years ago
parent
commit
3981e337ad
  1. 2
      partner_statement/wizard/statement_common.py

2
partner_statement/wizard/statement_common.py

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

Loading…
Cancel
Save