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
25 lines
681 B
Python
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
|