[ADD] Crib in product

This commit is contained in:
Jose Luis Algara
2021-10-07 21:25:00 +02:00
parent 25e871272c
commit 83e4abec18
2 changed files with 6 additions and 0 deletions

View File

@@ -44,3 +44,8 @@ class ProductTemplate(models.Model):
help="Indicates if that product is a extra bed, add +1 capacity in the room",
default=False,
)
is_crib = fields.Boolean(
string="Is a baby crib",
help="Indicates if that product is a crib",
default=False,
)

View File

@@ -15,6 +15,7 @@
options="{'no_create': True,'no_open': True}"
/>
<field name="is_extra_bed" />
<field name="is_crib" />
<field name="daily_limit" />
</group>
<group>