Permalink
Browse files

🚑 mail sending issue

  • Loading branch information...
KolushovAlexandr committed Dec 25, 2018
1 parent 1390731 commit 259345602ab7f6fea120ccffa3e65070814b699d
Showing with 1 addition and 1 deletion.
  1. +1 −1 web_website/models/ir_property.py
@@ -109,7 +109,7 @@ def get_multi(self, name, model, ids):
if not ids:
return {}
# it's important, that website_id cannot be False -- otherwise, an error is raised on SQL request
website_id = self._context.get('website_id') or None
website_id = self._get_website_id() or None
field = self.env[model]._fields[name]
field_id = self.env['ir.model.fields']._get(model, name).id
company_id = self._context.get('force_company') or self.env['res.company']._company_default_get(model, field_id).id or None

0 comments on commit 2593456

Please sign in to comment.