mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
16 lines
609 B
Python
16 lines
609 B
Python
# Copyright 2017 Dario Lodeiros
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
from odoo import models, fields
|
|
|
|
|
|
class HotelBoardService(models.Model):
|
|
_name = "hotel.board.service"
|
|
_description = "Board Services"
|
|
|
|
name = fields.Char('Board Name', size=64, required=True, index=True)
|
|
service_ids = fields.Many2many(comodel_name='product.template',
|
|
relation='hotel_board_services_room',
|
|
column1='board_id',
|
|
column2='service_id')
|
|
sequence = fields.Integer('Sequence')
|