Permalink
Browse files

🌹 spelling

Co-Authored-By: KolushovAlexandr <kolushov@it-projects.info>
  • Loading branch information...
yelizariev and KolushovAlexandr committed Dec 21, 2018
1 parent 7dbd7e8 commit cae3aaa2d6f89704365baa8d7e604a955ef9a0b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 web_website/models/ir_property.py
@@ -108,7 +108,7 @@ def get_multi(self, name, model, ids):
# It has the same idea and structure, but sql request and set record value method are changed
if not ids:
return {}
# if get returns False it caused an error on SQL request
# 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
field = self.env[model]._fields[name]
field_id = self.env['ir.model.fields']._get(model, name).id

0 comments on commit cae3aaa

Please sign in to comment.