[IMP]pms: Add demo data adults in boards

This commit is contained in:
Darío Lodeiros
2024-03-17 19:54:47 +01:00
parent 591ef71e98
commit 06aad3e01a
2 changed files with 12 additions and 9 deletions

View File

@@ -59,7 +59,6 @@
'checkin': (DateTime.today() + timedelta(days=14)),
'checkout': (DateTime.today() + timedelta(days=16)),
'adults': 1,
'state': 'cancel',
'partner_requests': 'Quite room.'
})]"
/>
@@ -477,7 +476,6 @@
'checkin': (DateTime.today() + timedelta(days=20)),
'checkout': (DateTime.today() + timedelta(days=21)),
'adults': 2,
'state': 'cancel',
'sale_channel_origin_id': ref('pms.main_pms_sale_channel_door'),
})]"
/>
@@ -552,7 +550,6 @@
name="sale_channel_origin_id"
ref="pms.main_pms_sale_channel_phone"
/>
<field name="state">cancel</field>
<field
name="reservation_ids"
eval="[(5, 0), (0, 0, {

View File

@@ -822,7 +822,8 @@
name="board_service_line_ids"
eval="[(5, 0), (0, 0, {
'product_id': ref('pms_service_breakfast_buffet'),
'amount': 3})]"
'amount': 3,
'adults': True,})]"
/>
</record>
<record id="pms_board_service_half_board" model="pms.board.service">
@@ -832,9 +833,11 @@
name="board_service_line_ids"
eval="[(5, 0), (0, 0, {
'product_id': ref('pms_service_breakfast_buffet'),
'amount': 3}),
'amount': 3,
'adults': True,}),
(0, 0, {'product_id': ref('pms_service_dinner'),
'amount': 8})
'amount': 8,
'adults': True,})
]"
/>
</record>
@@ -845,11 +848,14 @@
name="board_service_line_ids"
eval="[(5, 0), (0, 0, {
'product_id': ref('pms_service_breakfast_buffet'),
'amount': 3}),
'amount': 3,
'adults': True,}),
(0, 0, {'product_id': ref('pms_service_lunch'),
'amount': 8}),
'amount': 8,
'adults': True,}),
(0, 0, {'product_id': ref('pms_service_dinner'),
'amount': 8})
'amount': 8,
'adults': True,})
]"
/>
</record>