mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: Checkin create compute flow
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user