[IMP]pms: Checkin create compute flow

This commit is contained in:
Darío Lodeiros
2021-02-19 18:11:34 +01:00
parent b72e087b56
commit 5967157b3d
4 changed files with 44 additions and 42 deletions

View File

@@ -661,6 +661,7 @@ class TestPmsReservations(TestHotel):
"pms_property_id": self.property.id,
}
)
r1.flush()
checkin = self.env["pms.checkin.partner"].create(
{
"partner_id": host.id,
@@ -749,6 +750,7 @@ class TestPmsReservations(TestHotel):
"pms_property_id": self.property.id,
}
)
r1.flush()
checkin = self.env["pms.checkin.partner"].create(
{
"partner_id": host.id,
@@ -756,6 +758,7 @@ class TestPmsReservations(TestHotel):
}
)
checkin.action_on_board()
checkin.flush()
# ACT
r1.action_reservation_checkout()