mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[DEL] deprecated max_child and max_adult
This commit is contained in:
@@ -25,9 +25,6 @@ class HotelRoom(models.Model):
|
||||
default=False)
|
||||
floor_id = fields.Many2one('hotel.floor', 'Ubication',
|
||||
help='At which floor the room is located.')
|
||||
|
||||
max_adult = fields.Integer('Max Adult')
|
||||
max_child = fields.Integer('Max Child')
|
||||
capacity = fields.Integer('Capacity')
|
||||
to_be_cleaned = fields.Boolean('To be Cleaned', default=False)
|
||||
extra_beds_allowed = fields.Integer('Extra beds allowed',
|
||||
|
||||
@@ -58,8 +58,6 @@ class HotelSharedRoom(models.Model):
|
||||
name = u'%s (%s)' % (self.name, i + 1)
|
||||
bed_vals = {
|
||||
'name': name,
|
||||
'max_adult': 1,
|
||||
'max_child': 0,
|
||||
'capacity': 1,
|
||||
'room_type_id': self.room_type_id.id,
|
||||
'sequence': self.sequence,
|
||||
|
||||
Reference in New Issue
Block a user