Skip to content
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

[12.0][MIG] base_ubl #94

Merged
merged 9 commits into from
Mar 14, 2019
Merged

[12.0][MIG] base_ubl #94

merged 9 commits into from
Mar 14, 2019

Conversation

MiquelRForgeFlow
Copy link
Contributor

Standard migration.

alexis-via and others added 8 commits March 13, 2019 16:01
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
@pedrobaeza pedrobaeza added this to the 12.0 milestone Mar 13, 2019
base_ubl/__manifest__.py Outdated Show resolved Hide resolved
base_ubl/models/ubl.py Outdated Show resolved Hide resolved
base_ubl/models/ubl.py Outdated Show resolved Hide resolved
@MiquelRForgeFlow
Copy link
Contributor Author

Ready, changes applied

@pedrobaeza pedrobaeza merged commit 2b39413 into OCA:12.0 Mar 14, 2019
@OCA-git-bot OCA-git-bot mentioned this pull request Mar 14, 2019
18 tasks
@MiquelRForgeFlow MiquelRForgeFlow deleted the 12.0-mig-base_ubl branch March 14, 2019 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants