mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
* [WIP] Refactor calendar_channel_connector * [FIX] Hotel Calendar + Hotel Connector * [ADD] Push URLs * [IMP] Connector * [IMP] Notifications * [ADD] hotel_channel_connector_wubook * [FIX] missing imports * [IMP] Clean code
20 lines
669 B
Python
20 lines
669 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',
|
|
]
|