Skip to content
Snippets Groups Projects
Commit 1112313d authored by Yenthe666's avatar Yenthe666 Committed by Martin Trigaux
Browse files

[FIX] website_event_track: make location name required


Creating a location without name does not make sense, it is the only
field of the model
Fixes odoo/odoo#38571

Adapt in master to make the field required at the model

closes odoo/odoo#38718

X-original-commit: 0823062e
Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 3c3f0753
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ class TrackLocation(models.Model):
_name = "event.track.location"
_description = 'Event Track Location'
name = fields.Char('Location')
name = fields.Char('Location', required=True)
class TrackStage(models.Model):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment