mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: checkin sequence based on reservation property
This commit is contained in:
@@ -840,7 +840,9 @@ class PmsCheckinPartner(models.Model):
|
||||
}
|
||||
record.update(vals)
|
||||
record.reservation_id.state = "onboard"
|
||||
record.identifier = record.pms_property_id.checkin_sequence_id._next_do()
|
||||
record.identifier = (
|
||||
record.reservation_id.pms_property_id.checkin_sequence_id._next_do()
|
||||
)
|
||||
|
||||
def action_done(self):
|
||||
for record in self.filtered(lambda c: c.state == "onboard"):
|
||||
|
||||
Reference in New Issue
Block a user