mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] hotel_id not required creating restrictions
This commit is contained in:
@@ -18,7 +18,6 @@ class HotelRoomTypeRestriction(models.Model):
|
||||
hotel_id = fields.Many2one(
|
||||
'hotel.property',
|
||||
'Hotel',
|
||||
required=True,
|
||||
ondelete='restrict',
|
||||
default=_get_default_hotel)
|
||||
item_ids = fields.One2many(
|
||||
|
||||
Reference in New Issue
Block a user