Permalink
Browse files

Merge pull request #727 from KolushovAlexandr/11.0-web_website-get_mu…

…lti_updates
  • Loading branch information...
ilmir-k committed Feb 1, 2019
2 parents df79343 + 57bba11 commit 7e05d65283dc5350a7675ab4ed402dec7fca2595
Showing with 9 additions and 1 deletion.
  1. +1 −1 web_website/__manifest__.py
  2. +4 −0 web_website/doc/changelog.rst
  3. +4 −0 web_website/models/ir_property.py
@@ -6,7 +6,7 @@
"category": "Hidden",
# "live_test_url": "",
"images": [],
"version": "11.0.3.0.2",
"version": "11.0.3.0.3",
"application": False,

"author": "IT-Projects LLC, Ivan Yelizariev",
@@ -1,3 +1,7 @@
`3.0.3`
-------
- **Fix:** Error related to incorrect getting properties for html fields

`3.0.2`
-------
- **Fix:** Error related to incorrect SQL request
@@ -114,6 +114,10 @@ def get_multi(self, name, model, ids):
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

# for some reason html field type is missed in TYPE2FIELD https://github.com/odoo/odoo/pull/26556/files
if field.type == 'html':
TYPE2FIELD['html'] = 'value_text'

if field.type == 'many2one':
comodel = self.env[field.comodel_name]
model_pos = len(model) + 2

0 comments on commit 7e05d65

Please sign in to comment.