-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
[11.0][MIG] base_ubl: port to V11 #43
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d9a405a
Add module base_ubl (common methods to generate and parse UBL files)
alexis-via 66678b1
Parse customer/supplier ref in UBL and allow to match partner on 'ref'
alexis-via 95c51f5
Add matching of delivery partner
alexis-via 2479ed6
Add module base_phone_business_document_import
alexis-via 5aa44d4
Add module base_business_document_import_stock
alexis-via 21c33f2
Update invoice lines on "Update Existing" invoice import
alexis-via 0154dac
Add UBL 2.1 XSD files (can be used by all UBL modules ; avoids duplic…
alexis-via 6f11d0f
Use StreetName/AdditionalStreetName instead of AddressLine blocks, be…
alexis-via 770e9d8
Update UBL methods to generate lines
alexis-via 9cb4210
Add partner identification hook in UBL XML party block generation
alexis-via 3d68aae
Use vat_sanitiezd in base_ubl
alexis-via cb4a65d
Add support for UBL 2.0 (required for e-fff)
alexis-via a7b0c6f
[IMP] handle the case where the xml file is generated with mime type
adrienpeiffer 4857158
Add support for extraction + matching on website
alexis-via dc05120
8.0 Add support for partner bank matching on invoice update (#6)
fe5ea6f
8.0 Use try/except when importing external libs (#8)
56fe3da
OCA Transbot updated translations from Transifex
oca-transbot 0a5d0c8
Prepare v10 branch
alexis-via 292b766
Port base_business_document_import* to v10
alexis-via 1960793
Rename account_invoice_zugferd to account_invoice_factur-x
alexis-via 2464fdd
Add support for allowance and charges on Factur-X invoice import
alexis-via d078619
Improve + modularize generation of UBL (up-port from v8 PR)
alexis-via 2ac0cb2
FIX tax amount in UBL
alexis-via 246fe53
[11.0][MIG] base_ubl: porting to V11
astirpe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png | ||
:target: https://www.gnu.org/licenses/agpl | ||
:alt: License: AGPL-3 | ||
|
||
======== | ||
Base UBL | ||
======== | ||
|
||
This is the base module for the implementation of the `Universal Business | ||
Language (UBL) <http://ubl.xml.org/>`_ standard. The UBL standard became the | ||
`ISO/IEC 19845 <http://www.iso.org/iso/catalogue_detail.htm?csnumber=66370>`_ | ||
standard in January 2016 (cf the `official announce | ||
<http://www.prweb.com/releases/2016/01/prweb13186919.htm>`_). | ||
|
||
This module contains methods to generate and parse UBL files. This module | ||
doesn't do anything useful by itself, but it is used by several other modules: | ||
|
||
* *purchase_order_ubl* that generate UBL purchase orders, | ||
* *sale_order_import_ubl* that imports UBL sale orders. | ||
* *account_invoice_import_ubl* that imports UBL invoices, | ||
|
||
Usage | ||
===== | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/226/11.0 | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/OCA/edi/issues>`_. In case of trouble, please | ||
check there if your issue has already been reported. If you spotted it first, | ||
help us smash it by providing detailed and welcomed feedback. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Alexis de Lattre <alexis.delattre@akretion.com> | ||
* Andrea Stirpe <a.stirpe@onestein.nl> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# © 2016-2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
'name': 'Base UBL', | ||
'version': '11.0.1.0.0', | ||
'category': 'Hidden', | ||
'license': 'AGPL-3', | ||
'summary': 'Base module for Universal Business Language (UBL)', | ||
'author': 'Akretion,Odoo Community Association (OCA)', | ||
'website': 'https://github.com/oca/edi/', | ||
'depends': [ | ||
'product_uom_unece', | ||
'account_tax_unece', | ||
'base_vat_sanitized', | ||
], | ||
'external_dependencies': {'python': ['PyPDF2']}, | ||
'installable': True, | ||
} |
731 changes: 731 additions & 0 deletions
731
base_ubl/data/xsd-2.0/common/CCTS_CCT_SchemaModule-2.0.xsd
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must add yourself as a contributor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm the second one 😸