diff --git a/caldav_sync/__manifest__.py b/caldav_sync/__manifest__.py index d03351c..3fea042 100644 --- a/caldav_sync/__manifest__.py +++ b/caldav_sync/__manifest__.py @@ -8,7 +8,7 @@ { "name": "CalDAV Synchronization", - "version": "17.0.0.6.1", + "version": "17.0.0.6.2", "license": "LGPL-3", "category": "Productivity", "summary": "Synchronize Odoo Calendar Events with CalDAV Servers", diff --git a/caldav_sync/models/res_users.py b/caldav_sync/models/res_users.py index 8c661a6..defefcb 100644 --- a/caldav_sync/models/res_users.py +++ b/caldav_sync/models/res_users.py @@ -15,6 +15,14 @@ class ResUsers(models.Model): caldav_password = fields.Char(string="CalDAV Password") is_caldav_enabled = fields.Boolean(compute="_compute_is_caldav_enabled", store=True) + @property + def SELF_WRITEABLE_FIELDS(self): + return super().SELF_READABLE_FIELDS + [ + "caldav_calendar_url", + "caldav_username", + "caldav_password", + ] + @api.depends("caldav_username", "caldav_password", "caldav_calendar_url") def _compute_is_caldav_enabled(self): """This is a bit of an odd way of computing the field, but it works since any