mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] beds auto name
This commit is contained in:
@@ -53,7 +53,7 @@ class HotelSharedRoom(models.Model):
|
||||
bed.update({'active': True})
|
||||
inactive_beds -= bed
|
||||
continue
|
||||
name = u'%s (%s)' % (self.name, i)
|
||||
name = u'%s (%s)' % (self.name, i + 1)
|
||||
bed_vals = {
|
||||
'name': name,
|
||||
'max_adult': 1,
|
||||
|
||||
Reference in New Issue
Block a user