[ADD] create dav_calendar_sync addon

creates new addon dav_calendar_sync to synchronize caldav events on Odoo calendar
This commit is contained in:
Stéphan Sainléger
2022-08-08 14:15:44 +02:00
parent 36fd29fddb
commit 72e7ebe769
16 changed files with 289 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ class DavServer(models.Model):
status = fields.Char(compute='_compute_status', string='Status', store=True)
@api.depends("url", "username", "password")
def _compute_status(self):
def compute_status(self):
try:
self.get_principal()
self.write({"status": "OK"})