Skip to content

Commit

Permalink
Merge PR #548 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Dec 13, 2023
2 parents 91f12da + 1da6ee9 commit b06c9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_multi_company/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _check_company(self, fnames=None):
for record in self:
company_source_id = False
if record._name == "res.company":
company_source_id = self.id
company_source_id = record.id
elif "company_id" in record._fields:
company_source_id = record.company_id.id
self = self.with_context(_check_company_source_id=company_source_id)
Expand Down

0 comments on commit b06c9ad

Please sign in to comment.