Skip to content

[17.0][MIG] account_invoice_import_invoice2data: Migration to 17.0#1301

Open
MarwanBHL wants to merge 102 commits into
OCA:17.0from
MarwanBHL:17.0-mig-account_invoice_import_invoice2data
Open

[17.0][MIG] account_invoice_import_invoice2data: Migration to 17.0#1301
MarwanBHL wants to merge 102 commits into
OCA:17.0from
MarwanBHL:17.0-mig-account_invoice_import_invoice2data

Conversation

@MarwanBHL

@MarwanBHL MarwanBHL commented Feb 24, 2026

Copy link
Copy Markdown

Migration based on #1220

Depend: #1295

alexis-via and others added 30 commits February 19, 2026 11:15
…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
Update the account_invoice_download_weboob following the changes in account_invoice_download
Add README.rst for the 2 modules
Update text displayed in the invoice import wizard and make list of
supported formats modular (like in bank statement import)
Updated by Actualizar ficheiros PO com o novo POT (msgmerge) hook in Weblate.
oca-ci and others added 24 commits February 19, 2026 11:15
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/
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/nl/
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 17.0-mig-account_invoice_import_invoice2data branch from 73822d9 to b2d7226 Compare February 24, 2026 13:16
@MarwanBHL
MarwanBHL marked this pull request as ready for review February 24, 2026 13:19
@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 28, 2026
@bosd

bosd commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Similar to #1220 can you sqush the translation commits here as well?

@github-actions github-actions Bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 19, 2026
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.