Files
pms/hotel_channel_connector/models/hotel_reservation/exporter.py
QS5ELkMu 9c76c0e932 Finalize Calendar & Connector integration (#69)
* [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
2018-11-25 17:38:24 +01:00

25 lines
681 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
from odoo import api
class HotelReservationExporter(Component):
_name = 'channel.hotel.reservation.exporter'
_inherit = 'hotel.channel.exporter'
_apply_on = ['channel.hotel.reservation']
_usage = 'hotel.reservation.exporter'
@api.model
def cancel_reservation(self, binding):
raise NotImplementedError
@api.model
def mark_booking(self, binding):
raise NotImplementedError
@api.model
def mark_bookings(self, external_ids):
raise NotImplementedError