From bf4427f68256e3a5c92e2c007886a2d31fda0a18 Mon Sep 17 00:00:00 2001 From: Yenthe666 Date: Mon, 28 Jan 2019 17:04:14 +0000 Subject: [PATCH] [FIX] lunch: make lunch location name required closes odoo/odoo#30627 --- addons/lunch/models/lunch_location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/lunch/models/lunch_location.py b/addons/lunch/models/lunch_location.py index 73e9e07ba43..af2a8509de6 100644 --- a/addons/lunch/models/lunch_location.py +++ b/addons/lunch/models/lunch_location.py @@ -8,5 +8,5 @@ class LunchLocation(models.Model): _name = 'lunch.location' _description = 'Lunch Locations' - name = fields.Char('Location Name') + name = fields.Char('Location Name', required=True) address = fields.Text('Address')