mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
@@ -210,8 +210,12 @@ class PmsReservationLine(models.Model):
|
||||
# if the preferred room is NOT available
|
||||
else:
|
||||
raise ValidationError(
|
||||
_("%s: No room available.")
|
||||
% (reservation.preferred_room_id.name)
|
||||
_("%s: No room available in %s <-> %s.")
|
||||
% (
|
||||
reservation.preferred_room_id.name,
|
||||
line.reservation_id.checkin,
|
||||
line.reservation_id.checkout,
|
||||
)
|
||||
)
|
||||
|
||||
# otherwise we assign the first of those
|
||||
|
||||
Reference in New Issue
Block a user