summaryrefslogtreecommitdiff
path: root/addons/gamification/models
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2018-09-05 14:22:37 +0200
committerRaphael Collet <rco@odoo.com>2018-09-11 17:25:07 +0200
commitfa6774b899cd68c1e4d2b9a9776d89fbf6bbbe5d (patch)
tree5b16d65715c47e81510a9d5f8c5091d4692ac5dd /addons/gamification/models
parent9823fe6f075559657f85a905f95641e2409a2737 (diff)
[FIX] models: make log_access fields readonly, and remove useless definitions
Diffstat (limited to 'addons/gamification/models')
-rw-r--r--addons/gamification/models/badge.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/gamification/models/badge.py b/addons/gamification/models/badge.py
index 6da94ddf9c1..8aa184d1930 100644
--- a/addons/gamification/models/badge.py
+++ b/addons/gamification/models/badge.py
@@ -22,8 +22,6 @@ class BadgeUser(models.Model):
challenge_id = fields.Many2one('gamification.challenge', string='Challenge originating', help="If this badge was rewarded through a challenge")
comment = fields.Text('Comment')
badge_name = fields.Char(related='badge_id.name', string="Badge Name")
- create_date = fields.Datetime('Created', readonly=True)
- create_uid = fields.Many2one('res.users', string='Creator', readonly=True)
def _send_badge(self):
"""Send a notification to a user for receiving a badge