Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ES zip prefixes #50

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

gabypancu
Copy link
Contributor

What are you trying to accomplish?

...

What approach did you choose and why?

...

What should reviewers focus on?

...

The impact of these changes

...

Testing

...

Checklist

  • I have added a CHANGELOG entry for this change (or determined that it isn't needed)

@@ -27,38 +27,54 @@ zones:
code: C
tax: 0.0
tax_name: VAT
postal_code_prefixes:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
postal_code_prefixes:
zip_prefixes:

- name: Málaga
code: MA
tax: 0.0
tax_name: VAT
postal_code_prefixes:
- '29'
- name: Melilla
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Melilla needs

    zip_prefixes:
    - '52'

Copy link
Contributor

@cejaekl cejaekl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great start! 👏

It's going to need some refinement to cover edge cases.

For example, postcode 18312 Loja is used in both Las Rozuelas in Granada and Ventorros de Balerma in Córdoba, so we're going to need an entry:

zips_crossing_provinces:
  `18312`:
  - GR
  - CO

Screenshot 2023-12-08 at 2 55 21 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants