mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] return in action_cancel
This commit is contained in:
@@ -60,8 +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})
|
||||||
|
|
||||||
return = super(HotelReservation, self).action_cancel()
|
return super(HotelReservation, self).action_cancel()
|
||||||
return res
|
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
def confirm(self):
|
def confirm(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user