Saturday, August 21, 2021
2 changes · master
Miscellaneous changes
In 12.0+ when adding an XI (Northern Ireland) VAT number on a vendor and specifying the country as United Kingdom, an error shows the VAT number as not valid. This is because the method to check specifically XI VAT numbers doesn't recognize XI as a country, and thus uses the GB VAT number verification, which doesn't recognize XI VAT numbers as it isn't up to date yet. A temporary method to check XI VAT number was already added, but is never called because XI is not recognized as a country. W
Original PR description
In 12.0+ when adding an XI (Northern Ireland) VAT number on a vendor and specifying the country as United Kingdom, an error shows the VAT number as not valid. This is because the method to check specifically XI VAT numbers doesn't recognize XI as a country, and thus uses the GB VAT number verification, which doesn't recognize XI VAT numbers as it isn't up to date yet. A temporary method to check XI VAT number was already added, but is never called because XI is not recognized as a country. With this commit, we add a list of known legitimate country codes that are not considered as such in Odoo. opw-2534541 Forward-Port-Of: odoo/odoo#75232 Forward-Port-Of: odoo/odoo#72910
The generated file will contain vendor payments which are credits (code 22), not debits (code 27) [1]. [1] p8 in https://www.chase.com/content/dam/chaseonline/en/demos/cbo/pdfs/cbo_nacha_filespecs.pdf opw-2622582 Forward-Port-Of: odoo/enterprise#20365
Original PR description
The generated file will contain vendor payments which are credits (code 22), not debits (code 27) [1]. [1] p8 in https://www.chase.com/content/dam/chaseonline/en/demos/cbo/pdfs/cbo_nacha_filespecs.pdf opw-2622582 Forward-Port-Of: odoo/enterprise#20365