1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/website_event_track/models/event_track_location.py
2024-12-10 09:04:09 +07:00

14 lines
443 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class TrackLocation(models.Model):
_name = "event.track.location"
_description = 'Event Track Location'
_order = 'sequence, id'
name = fields.Char('Location', required=True)
sequence = fields.Integer(default=10, help='Define the order in which the location will appear on "Agenda" page')