[19.0][MIG] base_ubl: Migration to 19.0#1317
Merged
Merged
Conversation
Adapt module account_invoice_import_ubl to use the new base_ubl module Small fixes Parse customer/supplier ref in UBL and allow to match partner on 'ref' 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) Add matching of delivery partner Use country code and state code to match partners UBL: Add delivery terms and line item UBL XML block generation UBL: add parsing of delivery block Add module base_phone_business_document_import Add unitests in base_business_document_import Small code enhancements/simplifications Add module base_business_document_import_stock 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 Update invoice lines on "Update Existing" invoice import Add button "Update from File" on supplier invoice form Use float_round() instead of round() Add UBL 2.1 XSD files (can be used by all UBL modules ; avoids duplication of UBL XSD files) Use StreetName/AdditionalStreetName instead of AddressLine blocks, because only the first one is accepted by Chorus Factures for example. Update UBL methods to generate lines Add UBL methods to generate some tax blocks Add partner identification hook in UBL XML party block generation Print numbers with the approriate number of digits in the XML Use vat_sanitiezd in base_ubl Add support for UBL 2.0 (required for e-fff)
PEP8 fix 8.0 Add support for partner bank matching on invoice update (OCA#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 (OCA#8) [FIX] LINT Use try/except when importing external libs Remove self.ensure_one() that has nothing to do in an api.model method
Rename __openerp__.py to __manifest__.py and set installable to False Port base_business_document_import* to v10 Also port all the modules that generate the XML documents: account_invoice_ubl, account_invoice_zugferd, purchase_order_ubl and sale_order_ubl Rename account_invoice_zugferd to account_invoice_factur-x Rename account_invoice_import_zugferd to account_invoice_import_factur-x Add module to support py3o reporting engine: Add support for allowance and charges on Factur-X invoice import 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 Improve + modularize generation of UBL (up-port from v8 PR) Add script mass_invoice_import.py Code cleanup FIX tax amount in UBL
Enable delivery block in UBL
… to write to is not in binary mode. It may not be written to correctly. [pdf.py:453] (OCA#56)
* [10.0][FIX]Fix supplier search for variant * fix flake8 * use _select_seller
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: edi-13.0/edi-13.0-base_ubl Translate-URL: https://translation.odoo-community.org/projects/edi-13-0/edi-13-0-base_ubl/
Some industries still identify party with a GLN and schemeID="GLN" or with a VAT number and schemeID="<country code>:VAT". This allow to process it with a parsing hook in the partner matching. Add module partner_identification_import to match partner by external identifier using the above hook.
…tner matching. A shipping partner is not especially related to the ordering party. It could be any partner. However, we want to ensure that the address is respected. Fix-up: PartyIdentification/ID is a 1..N relation. Parse each of them for a match
…ation (remove wrong namespace in attribute)
extract a method from _cii_add_invoice_line_block to lower the complexity rating of that method and get a green check.
Currently translated at 100.0% (6 of 6 strings) Translation: edi-16.0/edi-16.0-base_ubl Translate-URL: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_ubl/it/
In an address, the real street is usually put on the last "street" field. Ensure we get this in StreetName or AdditionalStreetName but not in another element. Example: - name: Ms H Williams - street: Finance and Accounting - street2: Australia Post - street3: 219–241 Cleveland St
This was referenced Apr 6, 2026
ivantodorovich
approved these changes
Apr 6, 2026
grindtildeath
approved these changes
Apr 7, 2026
Author
|
Hello @OCA/edi-maintainers can you pls take a look and possibly merge? |
vvrossem
approved these changes
Apr 10, 2026
Contributor
There was a problem hiding this comment.
I think this can stay as it is not about a past financed migration but the module development itself
Remove references in CREDITS.rst of past financed migrations by other companies
Contributor
|
This PR has the |
eda4282 to
5a8c2e7
Compare
Contributor
|
/ocabot merge nobump |
Contributor
|
On my way to merge this fine PR! |
Contributor
|
Congratulations, your PR was merged at 2e8774d. Thanks a lot for contributing to OCA. ❤️ |
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
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.
No description provided.