mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: Add demo data adults in boards
This commit is contained in:
@@ -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, {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user