[FIX] Connector

This commit is contained in:
QS5ELkMu
2018-12-07 15:09:12 +01:00
parent e7301ed2d7
commit e498a114db
5 changed files with 1 additions and 7 deletions

View File

@@ -39,6 +39,5 @@
],
'installable': True,
'auto_install': False,
'license': 'AGPL-3',
}

View File

@@ -29,6 +29,5 @@
'installable': True,
'auto_install': True,
'application': False,
'license': 'AGPL-3',
}

View File

@@ -46,7 +46,5 @@
'test': [
],
'installable': True,
'auto_install': False,
'application': False,
'license': 'AGPL-3',
}

View File

@@ -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([

View File

@@ -27,7 +27,5 @@
'test': [
],
'installable': True,
'auto_install': False,
'application': False,
'license': 'AGPL-3',
}