Skip to content

[17.0][MIG] account_invoice_import: Migration to 17.0#1295

Open
MarwanBHL wants to merge 179 commits intoOCA:17.0from
MarwanBHL:17.0-mig-account_invoice_import
Open

[17.0][MIG] account_invoice_import: Migration to 17.0#1295
MarwanBHL wants to merge 179 commits intoOCA:17.0from
MarwanBHL:17.0-mig-account_invoice_import

Conversation

@MarwanBHL
Copy link

Basic migration based on the migration 18.0

alexis-via and others added 30 commits February 12, 2026 14:02
FIX raise error when we don't identify a partner

Update README
Rename test/pdf/ to test/invoices/ to host XML invoices too
…invoice_zugferd (see README.rst for more info)

Move the ZUGFeRD/CII-specific code of account_invoice_import to account_invoice_import_zugferd
Disable test of invoice2data, because this lib is difficult to install
Add support for UBL refunds

If you have an UBL refund that I could use to test, please contact me !
Convert YAML test to unittest
…edicated module account_invoice_import_invoice2data

Update README.rst and headers to latest OCA conventions.
Better key names in the parsed_inv dict
parsed_inv doesn't need to be JSON serializable anymore (small drawback: the invoice is parsed a second time on the second step... but the second step is rarely used)
Move code from account_invoice_import_invoice2data to account_invoice_import
Update REAME and some interface strings about UBL being an ISO standard
Small code changes
…voice dict, cleaner organisation)

Code refactoring: move code in base_business_document_import, factorise code for tax matching (it was duplicated in UBL and ZUGFeRD)
Now support PDF with embedded UBL XML file
Enable unittests on account_invoice_import_ubl
More absolute xpath in account_invoice_import_ubl instead of relative xpath

WARNING: these are big changes, I may have broken a few details
Adapt module account_invoice_import_ubl to use the new base_ubl module
Small fixes
Add unitests in base_business_document_import
Small code enhancements/simplifications
Code cleanup/minor changes
alexis-via and others added 24 commits February 12, 2026 14:02
Implement/update several TODOs in the code
Add warning banner in the imported invoice.
Avoid a crash when odoo cannot force total VAT amount when there are not
taxes in the invoice.
Add notification pop-up upon Vendor bill import wizard validation
Improve usability of the create or update partner wizard
Fix crash in _match_taxes() when _match_tax returne None
Add raise_exception argument in several methods
… multi-company code + fix call to user_error_wrap()
Currently translated at 100.0% (100 of 100 strings)

Translation: edi-16.0/edi-16.0-account_invoice_import
Translate-URL: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_import/it/
The 'Upload' button from the vendor bill tree view now uses account_invoice_import
Improve method _cannot_refund_vat() to use field unece_type_code on account.tax
Add message in chatter of updated partner from wizard
Fix/improve message in chatter of created partner from wizard
Fix default expense account from product category
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: edi-16.0/edi-16.0-account_invoice_import
Translate-URL: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_import/
Currently translated at 100.0% (101 of 101 strings)

Translation: edi-16.0/edi-16.0-account_invoice_import
Translate-URL: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_import/it/
@MarwanBHL MarwanBHL force-pushed the 17.0-mig-account_invoice_import branch 2 times, most recently from 7245e2a to 6a87782 Compare February 13, 2026 12:41
@MarwanBHL MarwanBHL marked this pull request as ready for review February 16, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.