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

[15.0][MIG] base_business_document_import #492

Closed

Commits on Dec 8, 2021

  1. Configuration menu
    Copy the full SHA
    1faa7ee View commit details
    Browse the repository at this point in the history
  2. Better/cleaner pivot invoice dict format (no more IDs in the pivot in…

    …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
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    029743b View commit details
    Browse the repository at this point in the history
  3. 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
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    5bfb59a View commit details
    Browse the repository at this point in the history
  4. 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)
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    802067e View commit details
    Browse the repository at this point in the history
  5. 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
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    6577589 View commit details
    Browse the repository at this point in the history
  6. Add module base_phone_business_document_import

    Add unitests in base_business_document_import
    Small code enhancements/simplifications
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    43a0319 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b163def View commit details
    Browse the repository at this point in the history
  8. Add a unittest on _match_uom

    Code cleanup/minor changes
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    302dfaf View commit details
    Browse the repository at this point in the history
  9. 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
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    37232d3 View commit details
    Browse the repository at this point in the history
  10. Fix code + PEP8

    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    35d5a68 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    279dcd4 View commit details
    Browse the repository at this point in the history
  12. Add support for extraction + matching on website

    PEP8 fix
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    f49d72c View commit details
    Browse the repository at this point in the history
  13. 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)
    Alexis de Lattre authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    9d0c91e View commit details
    Browse the repository at this point in the history
  14. 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 de Lattre authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    18efdab View commit details
    Browse the repository at this point in the history
  15. Make modules uninstallable

    hbrunn authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    e663109 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    cfdabad View commit details
    Browse the repository at this point in the history
  17. Fix wrong class name

    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    cbd1fde View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b200e10 View commit details
    Browse the repository at this point in the history
  19. tests

    hbrunn authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    7fb58a6 View commit details
    Browse the repository at this point in the history
  20. Prepare v10 branch

    Rename __openerp__.py to __manifest__.py and set installable to False
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    bd957ec View commit details
    Browse the repository at this point in the history
  21. Port base_business_document_import to v10

    Add match for accounts and journals
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    39bbcb6 View commit details
    Browse the repository at this point in the history
  22. Add match on analytic accounts

    Improve match for journals and accounts
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    9e77ac7 View commit details
    Browse the repository at this point in the history
  23. 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
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    d01d2cb View commit details
    Browse the repository at this point in the history
  24. First working version of account_invoice_import

    Note: it requires this fix on odoo 10: odoo/odoo#15649
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    5223454 View commit details
    Browse the repository at this point in the history
  25. Continue port of modules for v10.0, in particular sale_order_import_*…

    … module
    
    Fix spelling mistake and other remarks on README by Tarteo
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    6b00283 View commit details
    Browse the repository at this point in the history
  26. Port account_invoice_import_factur-x and account_invoice_import_ubl t…

    …o v10.0
    
    base_business_document_import: Add support for the creation of res.bank
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    e75359d View commit details
    Browse the repository at this point in the history
  27. Smarter account code matching + add unittests

    Add support for insertion of title in error messages
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    7ac9ea7 View commit details
    Browse the repository at this point in the history
  28. FIX xmlid in tests

    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    f5d8c8e View commit details
    Browse the repository at this point in the history
  29. FIX crash when pivot format had a 'note' key (and no attachment)

    Add method to create SO in sale.order.import accessible via JSON-RPC
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    8d92ce6 View commit details
    Browse the repository at this point in the history
  30. Update test suite

    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    0022856 View commit details
    Browse the repository at this point in the history
  31. Add first support for the import of Factur-X invoices

    Add support for start/end dates on lines
    Better handling of invalid IBANs
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    59a886a View commit details
    Browse the repository at this point in the history
  32. Fix bug OCA#16 : add support for adjustment lines (per line and global)

    Add support for Tax Due Date on invoice import
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    ec18189 View commit details
    Browse the repository at this point in the history
  33. base_business_document_import migrate to 11.0

    Nicolas JEUDY authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    2f3eccd View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    207f57b View commit details
    Browse the repository at this point in the history
  35. use SQL to change company

    Nicolas JEUDY authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    95cced0 View commit details
    Browse the repository at this point in the history
  36. Fix for multicompany

    astirpe authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    f197508 View commit details
    Browse the repository at this point in the history
  37. include some of the fixes proposed in OCA#64

    Nicolas JEUDY authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    bac8ee4 View commit details
    Browse the repository at this point in the history
  38. Check the VAT number of the destination partner, to make sure the bus…

    …iness document is imported in the right company
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    647b0a3 View commit details
    Browse the repository at this point in the history
  39. [MIG] base_business_document_import from 11 to 12

    Migrate base_business_document_import_phone from v10 to v12
    Convert readme to the new format
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    6d73380 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    e4badc2 View commit details
    Browse the repository at this point in the history
  41. Use limit=1 where relevant

    Improve code for shipping addresse matching
    Improve tests
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    12d0abe View commit details
    Browse the repository at this point in the history
  42. [UPD] README.rst

    OCA-git-bot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    67199c7 View commit details
    Browse the repository at this point in the history
  43. [ADD] icon.png

    OCA-git-bot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    f0b1d13 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    adf4e25 View commit details
    Browse the repository at this point in the history
  45. [MIG] account_invoice_import_facturx to v12

    Update technical name of module to remove '-'
    Up-port PR OCA#78 Auto-creation of bank accounts upon invoice import is now optional
    Fix returned action when using the import wizard
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    bfc80c0 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    8e89de6 View commit details
    Browse the repository at this point in the history
  47. Update translation files

    Updated by Update PO files to match POT (msgmerge) hook in Weblate.
    oca-transbot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    7edd4e9 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    573866d View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    490282b View commit details
    Browse the repository at this point in the history
  50. [UPD] README.rst

    sebalix authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    0e6defe View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    b641ba5 View commit details
    Browse the repository at this point in the history
  52. [UPD] README.rst

    OCA-git-bot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    63f25c2 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    bdf193c View commit details
    Browse the repository at this point in the history
  54. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-13.0/edi-13.0-base_business_document_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-13-0/edi-13-0-base_business_document_import/
    oca-transbot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    9a28f5f View commit details
    Browse the repository at this point in the history
  55. [13.0][IMP] base_business_document_import partner search

    As there is no longer a specific separation between customer and
    supplier with the `customer_rank` and `supplier_rank` fields on partner.
    It is less error prone to order the partner found by there rank type
    insteed of filtering.
    TDu authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    c4caf08 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    d8bc883 View commit details
    Browse the repository at this point in the history
  57. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-13.0/edi-13.0-base_business_document_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-13-0/edi-13-0-base_business_document_import/
    oca-transbot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    3314c7e View commit details
    Browse the repository at this point in the history
  58. Refactor partner matching

    1/ First try to match on explicit partner ref
    2/ If country and/or state is provided, make optional on search domain
    3/ If vat is provided, make required on search domain
    4/ Call search hook
    5/ Try to match on email
    6/ Try to match on name
    7/ Try to match on website or email domain
    8/ Try to match on vat
    
    Do not reformat VAT number as in Odoo v13 the VAT number is normalized
    and UBL provides a normalized VAT number. Moreover, some countries like
    Switzerland have spaces in the normalized VAT number that should not be
    removed.
    jbaudoux authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    ef18d92 View commit details
    Browse the repository at this point in the history
  59. Allow to make parsing hook based on PartyIdentification/ID

    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.
    jbaudoux authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    ccb14fe View commit details
    Browse the repository at this point in the history
  60. Improve partner contact matching

    jbaudoux authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    e6fc072 View commit details
    Browse the repository at this point in the history
  61. Parse and import Sales Order Invoicing Partner. Refactor shipping par…

    …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
    jbaudoux authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    df1d197 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    467ee94 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    39d043f View commit details
    Browse the repository at this point in the history
  64. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-13.0/edi-13.0-base_business_document_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-13-0/edi-13-0-base_business_document_import/
    oca-transbot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    1b79163 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    40b8ac7 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    7421491 View commit details
    Browse the repository at this point in the history
  67. [UPD] README.rst

    OCA-git-bot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    e6f34be View commit details
    Browse the repository at this point in the history
  68. base_business_document_import: Improve tests on taxes

    Improve error handling
    Code cleanup
    Remove CREDITS: either we list all the companies that financially
    supported the dev of the module or none, but we can't list just one.
    alexis-via authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    aed370d View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    df06b4e View commit details
    Browse the repository at this point in the history
  70. [UPD] README.rst

    OCA-git-bot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    7194d7a View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    8dc5280 View commit details
    Browse the repository at this point in the history
  72. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-14.0/edi-14.0-base_business_document_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-base_business_document_import/
    oca-transbot authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    f9a49ea View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    e58ad61 View commit details
    Browse the repository at this point in the history
  74. Translated using Weblate (French (France))

    Currently translated at 97.4% (38 of 39 strings)
    
    Translation: edi-14.0/edi-14.0-base_business_document_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-base_business_document_import/fr_FR/
    Yvesldff authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    a586ed8 View commit details
    Browse the repository at this point in the history
  75. Added translation using Weblate (Dutch)

    bosd authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    5bf3092 View commit details
    Browse the repository at this point in the history
  76. Translated using Weblate (Dutch)

    Currently translated at 56.4% (22 of 39 strings)
    
    Translation: edi-14.0/edi-14.0-base_business_document_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-base_business_document_import/nl/
    bosd authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    a77ab39 View commit details
    Browse the repository at this point in the history
  77. Translated using Weblate (Dutch)

    Currently translated at 94.8% (37 of 39 strings)
    
    Translation: edi-14.0/edi-14.0-base_business_document_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-base_business_document_import/nl/
    bosd authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    c49c725 View commit details
    Browse the repository at this point in the history
  78. Translated using Weblate (French)

    Currently translated at 94.8% (37 of 39 strings)
    
    Translation: edi-14.0/edi-14.0-base_business_document_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-base_business_document_import/fr/
    Yvesldff authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    70c6ac1 View commit details
    Browse the repository at this point in the history
  79. [FIX] base_business_document_import: email should be taken into accou…

    …nt when searching shipping partner
    phuctranfxvn authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    5eff333 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    23b74d5 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    dd232f9 View commit details
    Browse the repository at this point in the history
  82. [REF] base_business_document_import: matching

    Reduce _match_partner complexity
    yvaucher authored and koenloodts committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    73f19ca View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    e088e51 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    47eeb0c View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    8c4403b View commit details
    Browse the repository at this point in the history