Skip to content

Conversation

@MarwanBHL
Copy link

@MarwanBHL MarwanBHL commented Oct 2, 2025

Migration based on the PR #753

depends account_invoice_import

This PR can be tested with account_invoice_import in #1222

@MarwanBHL MarwanBHL changed the title [WIP][MIG] account_invoice_import_invoice2data: Migration to 16.0 [MIG] account_invoice_import_invoice2data: Migration to 16.0 Oct 3, 2025
@MarwanBHL MarwanBHL marked this pull request as ready for review October 3, 2025 13:00
@MarwanBHL MarwanBHL force-pushed the 16.0-mig-account_invoice_import_invoice2data branch 2 times, most recently from c38fe88 to 9486595 Compare November 23, 2025 00:04
@MarwanBHL MarwanBHL marked this pull request as draft November 24, 2025 12:10
@MarwanBHL MarwanBHL force-pushed the 16.0-mig-account_invoice_import_invoice2data branch from d82bc56 to a8d9f12 Compare December 18, 2025 16:59
alexis-via and others added 23 commits December 30, 2025 15:23
…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
…te dir and the built-in templates

Also allow to use only a local template dir
README updated to explain how to configure all this
Special thanks to Sébastien Beau for his help to achieve this
Add support for partner bank matching on invoice update (before, it was only supported on invoice creation)
[FIX] LINT

Use try/except when importing external libs
Remove self.ensure_one() that has nothing to do in an api.model method
…a recent version of pdftotext on travis's ubuntu 12.04 images
Rename __openerp__.py to __manifest__.py and set installable to False
Also port all the modules that generate the XML documents: account_invoice_ubl, account_invoice_zugferd, purchase_order_ubl and sale_order_ubl
… module

Fix spelling mistake and other remarks on README by Tarteo
* Update to work with latest version of invoice2data

* Add requirements.txt file
Ivorra78 and others added 14 commits December 30, 2025 15:23
Currently translated at 100.0% (16 of 16 strings)

Translation: edi-14.0/edi-14.0-account_invoice_import_invoice2data
Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_invoice2data/es/
… PDF invoices

Restore implementation in OCA#630:
- when importing an invoice for an unknown partner, it creates an empty invoice with PDF a
s attachment
DISABLED_MAIL_CONTEXT is not available yet in v14 and v15.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: edi-14.0/edi-14.0-account_invoice_import_invoice2data
Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_invoice2data/
Add support for discount on lines in the multi-line create scenario
Currently translated at 6.6% (1 of 15 strings)

Translation: edi-14.0/edi-14.0-account_invoice_import_invoice2data
Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_invoice2data/it/
Currently translated at 13.3% (2 of 15 strings)

Translation: edi-14.0/edi-14.0-account_invoice_import_invoice2data
Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_invoice2data/it/
@MarwanBHL MarwanBHL force-pushed the 16.0-mig-account_invoice_import_invoice2data branch 2 times, most recently from 8151de3 to 76dd837 Compare December 30, 2025 15:43
@MarwanBHL MarwanBHL force-pushed the 16.0-mig-account_invoice_import_invoice2data branch from 76dd837 to 8147065 Compare January 6, 2026 22:36
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.