mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: test day_qty service line force flush compute
This commit is contained in:
@@ -164,6 +164,7 @@ class TestProductTemplate(TestPms):
|
||||
"board_service_room_id": board_service_room_type.id,
|
||||
}
|
||||
)
|
||||
reservation.flush()
|
||||
# ASSERT
|
||||
self.assertEqual(
|
||||
reservation.service_ids.service_line_ids.day_qty,
|
||||
@@ -212,6 +213,7 @@ class TestProductTemplate(TestPms):
|
||||
"board_service_room_id": board_service_room_type.id,
|
||||
}
|
||||
)
|
||||
reservation.flush()
|
||||
# ASSERT
|
||||
# self.assertTrue(reservation, "The reservation should have been created.")
|
||||
# ASSERT
|
||||
|
||||
Reference in New Issue
Block a user