[DEL] deprecated max_child and max_adult

This commit is contained in:
Dario Lodeiros
2019-09-24 12:00:58 +02:00
parent d5fdbd6a4f
commit 7c55963bb1
2 changed files with 0 additions and 5 deletions

View File

@@ -25,9 +25,6 @@ class HotelRoom(models.Model):
default=False) default=False)
floor_id = fields.Many2one('hotel.floor', 'Ubication', floor_id = fields.Many2one('hotel.floor', 'Ubication',
help='At which floor the room is located.') help='At which floor the room is located.')
max_adult = fields.Integer('Max Adult')
max_child = fields.Integer('Max Child')
capacity = fields.Integer('Capacity') capacity = fields.Integer('Capacity')
to_be_cleaned = fields.Boolean('To be Cleaned', default=False) to_be_cleaned = fields.Boolean('To be Cleaned', default=False)
extra_beds_allowed = fields.Integer('Extra beds allowed', extra_beds_allowed = fields.Integer('Extra beds allowed',

View File

@@ -58,8 +58,6 @@ class HotelSharedRoom(models.Model):
name = u'%s (%s)' % (self.name, i + 1) name = u'%s (%s)' % (self.name, i + 1)
bed_vals = { bed_vals = {
'name': name, 'name': name,
'max_adult': 1,
'max_child': 0,
'capacity': 1, 'capacity': 1,
'room_type_id': self.room_type_id.id, 'room_type_id': self.room_type_id.id,
'sequence': self.sequence, 'sequence': self.sequence,