Daily updates from Odoo
Monday, April 1, 2019
1 change · master
Enhancements to existing features
Invoice scanning now supports richer OCR results, including invoice lines, taxes, and stronger total validation. It also sends more context to improve recognition accuracy and shows clearer error messages when processing fails.
Original PR description
Invoice lines and taxes support This commit make the module compatible with the new version (120) of the OCR server This imply new functionnalities: - Detection of invoice lines - Detection of invoice line taxes, global taxes on invoice - Validation of the invoice total with subtotal, taxes, invoice lines, etc... - Send user email, language and company VAT to server to help OCR to take right decision - Improve error message management. The server was always 'An error occured', now the module can display a custom message - Parsing of the new format of the JSON sent by the server And some fixs: - Trigger onchange when setting vendor with the VAT (avoid 'Commercial partner and partner account holder must be identical' error) - Avoid suppression of boxes on the invoices when the pdf is rerendered - Make features button always visible in edit mode