summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYenthe666 <yenthevg@gmail.com>2019-01-28 17:04:14 +0000
committerYenthe666 <yenthevg@gmail.com>2019-01-28 17:04:14 +0000
commitbf4427f68256e3a5c92e2c007886a2d31fda0a18 (patch)
treef9688c552fa7eac6e97aff5daf868e1b6ac66194
parentcfd01474398bbc5d741d76560595450d440f1794 (diff)
[FIX] lunch: make lunch location name required
closes odoo/odoo#30627
-rw-r--r--addons/lunch/models/lunch_location.py2
1 files changed, 1 insertions, 1 deletions
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')