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

[13.0][MIG] base_ubl #154

Merged
merged 27 commits into from
Mar 3, 2020
Merged

[13.0][MIG] base_ubl #154

merged 27 commits into from
Mar 3, 2020

Commits on Feb 28, 2020

  1. Add module base_ubl (common methods to generate and parse UBL files)

    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)
    alexis-via authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    3c6dc78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe04183 View commit details
    Browse the repository at this point in the history
  3. Add support for extraction + matching on website

    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
    alexis-via authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    708f3ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3e07a36 View commit details
    Browse the repository at this point in the history
  5. Prepare v10 branch

    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
    alexis-via authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    1b3f9a3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d7847fc View commit details
    Browse the repository at this point in the history
  7. [UPD] Update base_ubl.pot

    oca-travis authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    e534c20 View commit details
    Browse the repository at this point in the history
  8. Add support for PaymentID in UBL

    Enable delivery block in UBL
    alexis-via authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    638066e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6d03689 View commit details
    Browse the repository at this point in the history
  10. [UPD] Update base_ubl.pot

    oca-travis authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    0f02033 View commit details
    Browse the repository at this point in the history
  11. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-12.0/edi-12.0-base_ubl
    Translate-URL: https://translation.odoo-community.org/projects/edi-12-0/edi-12-0-base_ubl/
    oca-transbot authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    9c70f70 View commit details
    Browse the repository at this point in the history
  12. [ADD] icon.png

    OCA-git-bot authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    33e5767 View commit details
    Browse the repository at this point in the history
  13. [UPD] README.rst

    OCA-git-bot authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    dc5a8a0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a1c55d8 View commit details
    Browse the repository at this point in the history
  15. Translated using Weblate (Croatian)

    Currently translated at 87.5% (7 of 8 strings)
    
    Translation: edi-12.0/edi-12.0-base_ubl
    Translate-URL: https://translation.odoo-community.org/projects/edi-12-0/edi-12-0-base_ubl/hr/
    badbole authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    bfe0490 View commit details
    Browse the repository at this point in the history
  16. FIX Avoid warning "UserWarning: File </tmp/p3o.report.tmp.nVix6I.ods>…

    … to write to is not in binary mode. It may not be written to correctly. [pdf.py:453] (OCA#56)
    Alexis de Lattre authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    3101370 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5733c9d View commit details
    Browse the repository at this point in the history
  18. [FIX]Fix supplier search for variant (OCA#108)

    * [10.0][FIX]Fix supplier search for variant
    
    * fix flake8
    
    * use _select_seller
    luc-demeyer authored and astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    41bdd96 View commit details
    Browse the repository at this point in the history
  19. [13.0][MIG] base_ubl

    astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    4793cc7 View commit details
    Browse the repository at this point in the history
  20. pre-commit

    astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    f9fceb2 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c2fce79 View commit details
    Browse the repository at this point in the history
  22. Add oca_dependencies.txt

    astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    d1b5a4e View commit details
    Browse the repository at this point in the history
  23. pre-commit

    astirpe committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    2a26b2a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    ea65096 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    cadbab3 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    8307df4 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Configuration menu
    Copy the full SHA
    2884a48 View commit details
    Browse the repository at this point in the history