Browse Source

publish muk_utils - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
dd72e39066
  1. 4
      muk_utils/models/res_config_settings.py

4
muk_utils/models/res_config_settings.py

@ -74,6 +74,6 @@ class ResConfigSettings(models.TransientModel):
@api.depends('attachment_location')
def _compute_attachment_location_changed(self):
params = self.env['ir.config_parameter'].sudo()
attachment_location = params.get_param('ir_attachment.location', 'file')
location = params.get_param('ir_attachment.location', 'file')
for record in self:
record.attachment_location_changed = attachment_location != self.attachment_location
record.attachment_location_changed = location != self.attachment_location
Loading…
Cancel
Save