mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] vals['checkin'] in write
This commit is contained in:
@@ -319,7 +319,7 @@ class HotelReservation(models.Model):
|
||||
fields.Date.from_string(checkin)
|
||||
).days
|
||||
record.update(record.prepare_reservation_lines(
|
||||
vals['checkin'],
|
||||
vals['checkin'] if 'checkin' in vals else record.checkin,
|
||||
days_diff,
|
||||
vals=vals)) #REVISAR el unlink
|
||||
if ('checkin' in vals and record.checkin != vals['checkin']) or \
|
||||
|
||||
Reference in New Issue
Block a user