mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
16 lines
617 B
Python
16 lines
617 B
Python
# Copyright 2018 Alexandre Díaz <dev@redneboa.es>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import models, api, _, fields
|
|
from odoo.exceptions import ValidationError
|
|
|
|
|
|
class HotelCalendar(models.Model):
|
|
_name = 'hotel.calendar'
|
|
|
|
name = fields.Char('Name', required=True)
|
|
segmentation_ids = fields.Many2many('hotel.room.type.class', string='Segmentation')
|
|
location_ids = fields.Many2many('hotel.floor', string='Location')
|
|
amenity_ids = fields.Many2many('hotel.amenity', string='Amenity')
|
|
room_type_ids = fields.Many2many('hotel.room.type', string='Room Type')
|