summaryrefslogtreecommitdiff
path: root/addons/lunch/models
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-09-10 17:06:18 +0200
committerChristophe Simonis <chs@odoo.com>2018-09-10 17:06:18 +0200
commit86ff929ad6718d2bfb691dd272aa3f353406ff4f (patch)
treea62b50cc471452ff2dc3c034a38d6cade79c03ed /addons/lunch/models
parent4ad896bd3d6bbc851a59adead1a653abc31fc882 (diff)
parent1199451606cab7342e34fc9c41a2085b8beb1243 (diff)
[MERGE] forward port branch saas-11.4 up to 1199451606c
Diffstat (limited to 'addons/lunch/models')
-rw-r--r--addons/lunch/models/__init__.py1
-rw-r--r--addons/lunch/models/res_users.py13
2 files changed, 0 insertions, 14 deletions
diff --git a/addons/lunch/models/__init__.py b/addons/lunch/models/__init__.py
index e16f6c755b9..9824b4ad3b0 100644
--- a/addons/lunch/models/__init__.py
+++ b/addons/lunch/models/__init__.py
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from . import lunch
-from . import res_users
diff --git a/addons/lunch/models/res_users.py b/addons/lunch/models/res_users.py
deleted file mode 100644
index 9d3a39d8974..00000000000
--- a/addons/lunch/models/res_users.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-
-from odoo import fields, models
-
-
-class ResUsers(models.Model):
- _inherit = 'res.users'
-
- group_lunch_user = fields.Selection(
- selection=lambda self: self._get_group_selection('lunch.module_lunch_category'),
- string='Lunch', compute='_compute_groups_id', inverse='_inverse_groups_id',
- category_xml_id='lunch.module_lunch_category')