Final fix
All checks were successful
Update odoo 18 / update (push) Successful in 1m32s

This commit is contained in:
mgite 2024-10-29 18:15:10 +04:00
parent bd7afd7207
commit ca6a342f0e

View File

@ -221,7 +221,7 @@ class ExelyModifiedData(models.Model):
guest = self.get_exely_data_api(f"https://connect.hopenapi.com/api/exelypms/v1/guests/{bid}", headers) guest = self.get_exely_data_api(f"https://connect.hopenapi.com/api/exelypms/v1/guests/{bid}", headers)
self.create_or_update_raw_data(guest, 'exely.raw.guests', bid) self.create_or_update_raw_data(guest, 'exely.raw.guests', bid)
# break ## break
def process_exely_data(self): def process_exely_data(self):
found_booking_record = self.env['exely.bookings'].search([], order="write_date desc", limit=1) found_booking_record = self.env['exely.bookings'].search([], order="write_date desc", limit=1)