openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
22 stars 2 forks source link

Prevent duplicated Address #873

Closed jbpenrath closed 1 month ago

jbpenrath commented 3 months ago

Bug Report

Problematic behavior Currently, user is able to create twice the same address.

Expected behavior/code If an address already exists with the same first_name, last_name, address, city, postcode and country, the user should not be able to create a duplicated one.

Additional context/Screenshots https://gip-fun-mooc.sentry.io/issues/5568514244/?environment=production&project=6599941&query=is:unresolved+issue.priority:%5Bhigh,+medium%5D&statsPeriod=24h&stream_index=1&utc=true