mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
Merge pr_wubook_sale
This commit is contained in:
@@ -60,6 +60,7 @@ class HotelReservation(models.Model):
|
|||||||
if user.has_group('hotel.group_hotel_call'):
|
if user.has_group('hotel.group_hotel_call'):
|
||||||
self.write({'to_assign': True})
|
self.write({'to_assign': True})
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< 2076e6f9957b19690791d7ef40bbd5b5c59c96dd
|
<<<<<<< 2076e6f9957b19690791d7ef40bbd5b5c59c96dd
|
||||||
return super(HotelReservation, self).action_cancel()
|
return super(HotelReservation, self).action_cancel()
|
||||||
|
|
||||||
@@ -73,6 +74,10 @@ class HotelReservation(models.Model):
|
|||||||
self.sudo().env['channel.hotel.reservation']._event('on_record_cancel').notify(binding)
|
self.sudo().env['channel.hotel.reservation']._event('on_record_cancel').notify(binding)
|
||||||
return res
|
return res
|
||||||
>>>>>>> [WIP] Payments Notifications
|
>>>>>>> [WIP] Payments Notifications
|
||||||
|
=======
|
||||||
|
return super(HotelReservation, self).action_cancel()
|
||||||
|
|
||||||
|
>>>>>>> 11.0
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
def confirm(self):
|
def confirm(self):
|
||||||
@@ -127,3 +132,5 @@ class HotelReservationAdapter(Component):
|
|||||||
def cancel_reservation(self, channel_reservation_id, message):
|
def cancel_reservation(self, channel_reservation_id, message):
|
||||||
return super(HotelReservationAdapter, self).cancel_reservation(
|
return super(HotelReservationAdapter, self).cancel_reservation(
|
||||||
channel_reservation_id, message)
|
channel_reservation_id, message)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user