Tuesday, June 20, 2017
1 change · master
Code cleanup and technical improvements
The website shop and portal now use the same central VAT validation logic already available for partners. This reduces duplicated code, making future tax ID validation updates easier and less likely to behave inconsistently across customer-facing flows.
Original PR description
Avoid copy and paste code and repeated lines if a change is generated from check_vat so we need to remember upgrade a copy and paste of all models where is used this validation. Use check_vat function directly help us to re-use 100% the code without errors and inheritable. "A good developer create code a better one re-use": 