Fixed most stuff. Need to be very careful before actually deploying the changes

This commit is contained in:
Jonas Linter
2025-11-17 19:25:43 +01:00
parent c91290f1b0
commit bb20000031
4 changed files with 1453617 additions and 357795 deletions

View File

@@ -253,6 +253,9 @@ class Customer(Base):
name_title = Column(String) # Added for XML
reservations = relationship("Reservation", back_populates="customer")
def __repr__(self):
return f"Customer (id={self.id}, contact_id={self.contact_id}, email={self.email_address}), given_name={self.given_name} surname={self.surname}), phone={self.phone}, city={self.city_name}), postal_code={self.postal_code}, country_code={self.country_code})"
@staticmethod
def _normalize_and_hash(value):
"""Normalize and hash a value according to Meta Conversion API requirements."""