forked from OCA/l10n-spain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] l10n_es_aeat_mod349: Don't mangle VAT number
There's a VAT formatting method that adds country code if not present in the partner vat. This method is not useful at all, as all European VAT numbers should have country prefix for being validated in invoices, so there's not too much sense to try to reformat it. There are also cases where a big company has one country VAT number, but has fiscal address in other country, resulting in an incorrect reformating. Not even that, there are old style onchanges that are not ever triggered, as the XML declaration disappeared or is not effective as the view is readonly, becoming dead code. This commit removes all this stuff, with no expected side effects.
- Loading branch information
1 parent
5544690
commit 467afaa
Showing
2 changed files
with
4 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters