mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
19 lines
668 B
Python
19 lines
668 B
Python
# Copyright 2018 Alexandre Díaz <dev@redneboa.es>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo.addons.component.core import Component
|
|
|
|
class HotelConnectorModelBinder(Component):
|
|
_name = 'hotel.channel.connector.binder'
|
|
_inherit = ['base.binder', 'base.hotel.channel.connector']
|
|
_apply_on = [
|
|
'channel.hotel.reservation',
|
|
'channel.hotel.room.type',
|
|
'channel.hotel.room.type.availability',
|
|
'channel.hotel.room.type.restriction',
|
|
'channel.hotel.room.type.restriction.item',
|
|
'channel.product.pricelist',
|
|
'channel.product.pricelist.item',
|
|
'channel.ota.info',
|
|
]
|