Monday, August 16, 2021
3 changes · master
Resolved issues and error corrections
UBL invoice exports now include the tax percentage for each invoice line and totals grouped by tax rate. This helps ensure invoices exported in UBL format can be reimported later with taxes correctly recognized.
Original PR description
When printing an invoice in the UBL format, the exported XML does not contains all the necessary information to allows reimporting later with the taxes correctly set. With this commit, the XML will contain the percentage for each line, as well as the totals for each tax percentage. task id #2350481 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The partner tax identification field now keeps the standard "Tax ID" label instead of changing it to "VAT". This avoids confusing businesses in countries where tax identifiers are not referred to as VAT.
Original PR description
The default label of the `vat` field is "Tax ID". This code override this for no apparent reason with the label "VAT". It is incorrect to override "Tax ID" for "VAT" because many countries have a Tax ID that they don't call VAT. Keep the default.
Customer invoices processed by invoice extraction now place the detected invoice number as the invoice name instead of the customer reference. This improves invoice accuracy and avoids mislabeling important billing information.
Original PR description
…voice Previously, the invoice id was set as the customer reference. This was wrong as the invoice id detected is the vendor reference, so it should be set as the name of the customer invoice.