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

automatically add Customer/Supplier to VAT ID check #29

Open
Mutantpenguin opened this issue Jun 6, 2024 · 1 comment
Open

automatically add Customer/Supplier to VAT ID check #29

Mutantpenguin opened this issue Jun 6, 2024 · 1 comment

Comments

@Mutantpenguin
Copy link
Contributor

Mutantpenguin commented Jun 6, 2024

On creation/modification of a Customer/Supplier, a VAT ID check should be automatically created if:

  • a VAT ID was entered
  • customer_primary_address/supplier_primary_address is filled
  • this address is located in Europe
  • only if no check already exists for this Customer/Supplier and Address

We would do this for our own internal app anyway, so I am more than willing to create a PR if there is interest in such a functionality.

This would include a rough validation of the VAT ID already in the Customer/Supplier. This is only a check if it's technically a correct VAT ID, and not if it really exists.

@barredterra
Copy link
Member

Sounds good

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

No branches or pull requests

2 participants