Browse Source

[fix][partner_statement] correct default company

pull/778/head
Jordi Ballester 4 years ago
parent
commit
939d043f76
  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):
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()

Loading…
Cancel
Save