Skip to content

Commit

Permalink
fixup! [ADD] base_ical
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Sep 18, 2023
1 parent 9048ecf commit cf9761e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions base_ical/models/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ class ResUsers(models.Model):
def _compute_ical_ids(self):
for this in self:
this.ical_ids = self.env["base.ical"].search([])

@property
def SELF_READABLE_FIELDS(self):
return super().SELF_READABLE_FIELDS + ["ical_ids"]

0 comments on commit cf9761e

Please sign in to comment.