summaryrefslogtreecommitdiff
path: root/addons/lunch/models
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-01-23 17:39:52 +0000
committerThibault Delavallée <tde@odoo.com>2019-02-07 12:11:44 +0000
commit3b9dcb6d8d8c50000828f3503e69c567d0daa98c (patch)
tree5f29517a258f01f9ff81e50ccab0428abf0f0c8d /addons/lunch/models
parentca25a692bd19fdca2b2600f2054eb419aae28999 (diff)
[REF] gamification, website_forum: move karma, badge and badge level to gamification
Purpose of this commit is to prepare addition of gamification in slides / eLearning platform. In order to be able to use karma and the badges in other modules we move those models in gamification. Partial commit linked to eLearning project. Main specifications related to gamification and user profile can be found on task 1922159 (PR #30514). Main specifications related to eLearning can be found on task 1902304 (PR #29876).
Diffstat (limited to 'addons/lunch/models')
-rw-r--r--addons/lunch/models/lunch_product.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/lunch/models/lunch_product.py b/addons/lunch/models/lunch_product.py
index 0bc595c135c..6d4132d9bde 100644
--- a/addons/lunch/models/lunch_product.py
+++ b/addons/lunch/models/lunch_product.py
@@ -109,7 +109,6 @@ class LunchProduct(models.Model):
new_until = fields.Date('New Until')
favorite_user_ids = fields.Many2many('res.users', 'lunch_product_favorite_user_rel', 'product_id', 'user_id')
-
@api.model_create_multi
def create(self, vals_list):
for values in vals_list: