Browse Source

publish muk_utils - 12.0

pull/30/head
MuK IT GmbH 6 years ago
parent
commit
9c0fb07b7f
  1. 2
      muk_utils/__manifest__.py
  2. 2
      muk_utils/models/ir_attachment.py

2
muk_utils/__manifest__.py

@ -19,7 +19,7 @@
{ {
"name": "MuK Utils", "name": "MuK Utils",
"summary": """Utility Features""", "summary": """Utility Features""",
"version": '12.0.1.6.24',
"version": '12.0.1.6.26',
"category": 'Extra Tools', "category": 'Extra Tools',
"license": "AGPL-3", "license": "AGPL-3",
"author": "MuK IT", "author": "MuK IT",

2
muk_utils/models/ir_attachment.py

@ -131,6 +131,6 @@ class IrAttachment(models.Model):
else: else:
vals['db_datas'] = value vals['db_datas'] = value
clean_vals = self._get_datas_clean_vals(attach) clean_vals = self._get_datas_clean_vals(attach)
super(IrAttachment, attach.sudo()).write(vals)
models.Model.write(attach.sudo(), vals)
self._clean_datas_after_write(clean_vals) self._clean_datas_after_write(clean_vals)
Loading…
Cancel
Save