diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-08-20 17:18:31 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-08-20 17:18:31 +0200 |
| commit | 9ad5f26b3fb98cd14527de80d19bf6554a6981e2 (patch) | |
| tree | 771dc0267ad045abb1f2c4c77e814fbf7f3923d9 /addons/lunch/models | |
| parent | c3665fb5c9c9c50e9a8fd2d52e83c50f52d603aa (diff) | |
| parent | 3a2147d95c8005ab7c1dbe4d94315e404ea5e5f9 (diff) | |
[MERGE] forward port branch saas-11 up to 3a2147d
Diffstat (limited to 'addons/lunch/models')
| -rw-r--r-- | addons/lunch/models/lunch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/lunch/models/lunch.py b/addons/lunch/models/lunch.py index ee5437fbdd2..c97cf3602db 100644 --- a/addons/lunch/models/lunch.py +++ b/addons/lunch/models/lunch.py @@ -147,7 +147,7 @@ class LunchOrderLine(models.Model): ('confirmed', 'Received'), ('ordered', 'Ordered'), ('cancelled', 'Cancelled')], - 'Status', readonly=True, select=True, default='new') + 'Status', readonly=True, index=True, default='new') cashmove = fields.One2many('lunch.cashmove', 'order_id', 'Cash Move') currency_id = fields.Many2one('res.currency', related='order_id.currency_id') @@ -244,7 +244,7 @@ class LunchAlert(models.Model): alert_type = fields.Selection([('specific', 'Specific Day'), ('week', 'Every Week'), ('days', 'Every Day')], - string='Recurrency', required=True, select=True, default='specific') + string='Recurrency', required=True, index=True, default='specific') specific_day = fields.Date('Day', default=fields.Date.context_today) monday = fields.Boolean('Monday') tuesday = fields.Boolean('Tuesday') |
