summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/web_logging/web_utm_source.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/web_logging/web_utm_source.py')
-rw-r--r--indoteknik_custom/models/web_logging/web_utm_source.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/web_logging/web_utm_source.py b/indoteknik_custom/models/web_logging/web_utm_source.py
index 08b1e514..31e36dd6 100644
--- a/indoteknik_custom/models/web_logging/web_utm_source.py
+++ b/indoteknik_custom/models/web_logging/web_utm_source.py
@@ -6,6 +6,7 @@ class UserActivityLog(models.Model):
name = fields.Char(string='Name')
key = fields.Char(string='Key')
+ activity_ids = fields.One2many('user.activity.log', 'utm_source_id', string='Activity')
def find_or_create_key(self, key):
utm_source = self.search([('key', '=', key)], limit=1)