Files
pms/hotel/models/hotel_floor.py
2019-03-10 10:10:22 +01:00

12 lines
356 B
Python

# Copyright 2017 Dario Lodeiros
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields
class HotelFloor(models.Model):
_name = "hotel.floor"
_description = "Ubication"
name = fields.Char('Ubication Name', translate=True, size=64, required=True, index=True)
sequence = fields.Integer('Sequence')