mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] Connector
This commit is contained in:
@@ -39,6 +39,5 @@
|
||||
],
|
||||
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
'license': 'AGPL-3',
|
||||
}
|
||||
|
||||
@@ -29,6 +29,5 @@
|
||||
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
'application': False,
|
||||
'license': 'AGPL-3',
|
||||
}
|
||||
|
||||
@@ -46,7 +46,5 @@
|
||||
'test': [
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
'application': False,
|
||||
'license': 'AGPL-3',
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ class BindingHotelRoomTypeAvailabilityListener(Component):
|
||||
def on_record_create(self, record, fields=None):
|
||||
if not any(record.channel_bind_ids):
|
||||
channel_room_type_avail_obj = self.env[
|
||||
'channel.room.type.availability']
|
||||
'channel.hotel.room.type.availability']
|
||||
backends = self.env['channel.backend'].search([])
|
||||
for backend in backends:
|
||||
avail_bind = channel_room_type_avail_obj.search([
|
||||
|
||||
@@ -27,7 +27,5 @@
|
||||
'test': [
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
'application': False,
|
||||
'license': 'AGPL-3',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user