-
Notifications
You must be signed in to change notification settings - Fork 6
[FIX] account_invoice_import: Added check and conversion if input is … #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
JoanSForgeFlow
wants to merge
39
commits into
akretion:16-mig-account_invoice_import_ubl
Choose a base branch
from
ForgeFlow:16-mig-account_invoice_import_ubl-convert_if_bytes
base: 16-mig-account_invoice_import_ubl
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update README and fix typo Adapt code to new UNECE modules from OCA/community-data-files Add support for UBL refunds If you have an UBL refund that I could use to test, please contact me ! Add support for import of e-fff invoices (Belgian standard) Add an e-fff invoice to the test suite (kindly provided by Luc de Meyer from Noviat) Convert tests from YAML to unittest Add note about e-fff invoices in README.
…edicated module account_invoice_import_invoice2data Update README.rst and headers to latest OCA conventions. Adapt code to plug the module 'ovh_supplier_invoice' 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) FIX PEP8 and account_invoice_import_invoice2data unittests 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
Better generation of address block in UBL (make it coherent with the datamodel of Odoo) Add generation of several UBL blocks: language, delivery, payment terms, customer party, spplier party Add parsing of zip in UBL party (will be used in the future for delivery partner match)
Rename key 'quantity' to 'qty' in all parsing dicts['lines'] Add common methods compare_lines() and post_create_or_update() Make sure price_unit is always untaxed in UBL XML files
Standardize tests/files as the subdir for test import files Add and update README.rst
Add support for partner bank matching on invoice update (before, it was only supported on invoice creation)
Prepare v10 branch Rename __openerp__.py to __manifest__.py and set installable to False Port account_invoice_import_factur-x and account_invoice_import_ubl to v10.0 base_business_document_import: Add support for the creation of res.bank Port purchase_order_import* to v10.0 Add ubl invoice generation option in accounting config page
To avoid headaches with invalid files, now check XSD of XML invoices before parsing it upon import Move Factur-X/zugferd xsd to base_zugferd
Add support for Tax Due Date on invoice import
…81 instead of document type = 380 with negative amounts Improve the code of refund import to support both negative invoices and positive refunds
…ce with order reference
Update other modules accordingly
Update text displayed in the invoice import wizard and make list of supported formats modular (like in bank statement import)
…iness document is imported in the right company
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: edi-12.0/edi-12.0-account_invoice_import_ubl Translate-URL: https://translation.odoo-community.org/projects/edi-12-0/edi-12-0-account_invoice_import_ubl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: edi-14.0/edi-14.0-account_invoice_import_ubl Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_ubl/
Currently translated at 77.7% (7 of 9 strings) Translation: edi-14.0/edi-14.0-account_invoice_import_ubl Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-account_invoice_import_ubl/nl/
|
Hi @alexis-via, |
alexis-via
added a commit
that referenced
this pull request
Jun 27, 2023
PEP8 fix 8.0 Add support for partner bank matching on invoice update (#6) Add support for partner bank matching on invoice update (before, it was only supported on invoice creation) 8.0 Use try/except when importing external libs (#8) [FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Oct 20, 2023
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Oct 31, 2023
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Oct 1, 2024
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
added a commit
that referenced
this pull request
Apr 2, 2025
PEP8 fix 8.0 Add support for partner bank matching on invoice update (#6) Add support for partner bank matching on invoice update (before, it was only supported on invoice creation) 8.0 Use try/except when importing external libs (#8) [FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Apr 3, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Apr 8, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
Kev-Roche
pushed a commit
that referenced
this pull request
Apr 29, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Jun 24, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
bealdav
pushed a commit
that referenced
this pull request
Sep 15, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
bealdav
pushed a commit
that referenced
this pull request
Sep 15, 2025
PEP8 fix 8.0 Add support for partner bank matching on invoice update (#6) Add support for partner bank matching on invoice update (before, it was only supported on invoice creation) 8.0 Use try/except when importing external libs (#8) [FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
added a commit
that referenced
this pull request
Oct 6, 2025
PEP8 fix 8.0 Add support for partner bank matching on invoice update (#6) Add support for partner bank matching on invoice update (before, it was only supported on invoice creation) 8.0 Use try/except when importing external libs (#8) [FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
0d0d21d to
3bb9520
Compare
alexis-via
pushed a commit
that referenced
this pull request
Nov 18, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
3bb9520 to
6120e91
Compare
alexis-via
pushed a commit
that referenced
this pull request
Nov 26, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Nov 26, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Dec 5, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
alexis-via
pushed a commit
that referenced
this pull request
Dec 8, 2025
[FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added check and conversion if the input is a bytes object.