mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] Prevent Close Popup on board checkin
This commit is contained in:
@@ -152,6 +152,9 @@ class HotelCheckinPartner(models.Model):
|
||||
record.update(vals)
|
||||
if record.reservation_id.state == 'confirm':
|
||||
record.reservation_id.state = 'booking'
|
||||
return {
|
||||
"type": "ir.actions.do_nothing",
|
||||
}
|
||||
|
||||
@api.multi
|
||||
def action_done(self):
|
||||
|
||||
Reference in New Issue
Block a user