From dd72e390661a7c03e0c749270599908c225325ab Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Thu, 20 Dec 2018 11:23:48 +0000 Subject: [PATCH] publish muk_utils - 12.0 --- muk_utils/models/res_config_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muk_utils/models/res_config_settings.py b/muk_utils/models/res_config_settings.py index 4d5d37a..946263d 100644 --- a/muk_utils/models/res_config_settings.py +++ b/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 \ No newline at end of file + record.attachment_location_changed = location != self.attachment_location \ No newline at end of file