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

[17.0][MIG] sale_order_import #1003

Open
wants to merge 91 commits into
base: 17.0
Choose a base branch
from

Commits on Jul 8, 2024

  1. Initial check-in of module sale_order_import, sale_stock_order_import…

    …, sale_order_import_ubl, sale_order_import_csv, sale_order_ubl, sale_commercial_partner
    alexis-via authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    7ef46a6 View commit details
    Browse the repository at this point in the history
  2. Add 2 README.rst

    Add another README.
    alexis-via authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    c27761c View commit details
    Browse the repository at this point in the history
  3. FIX Don't use _inherit = ['business.document.import']

    because we want to have access to the code of the modules that inherit business.document.import
    alexis-via authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    4058a8e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1794848 View commit details
    Browse the repository at this point in the history
  5. Add support for extraction + matching on website

    PEP8 fix
    alexis-via authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    1fb4ad1 View commit details
    Browse the repository at this point in the history
  6. 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 antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    960b1ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9bb75fd View commit details
    Browse the repository at this point in the history
  8. Prepare v10 branch

    Rename __openerp__.py to __manifest__.py and set installable to False
    alexis-via authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    0b1630f View commit details
    Browse the repository at this point in the history
  9. 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 antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    6442a7e View commit details
    Browse the repository at this point in the history
  10. 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 antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    7b27d60 View commit details
    Browse the repository at this point in the history
  11. Port purchase_order_import* to v10.0

    Add ubl invoice generation option in accounting config page
    alexis-via authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    edfc80a View commit details
    Browse the repository at this point in the history
  12. 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 antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    02d573b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ebc93cc View commit details
    Browse the repository at this point in the history
  14. [11.0][MIG] sale_order_import: Migration + add tests

    Add readme fragments
    tarteo authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    887f714 View commit details
    Browse the repository at this point in the history
  15. Fix import of sale order with price_source='pricelist' when pricelist…

    … has visible discounts
    
    Code improvements in sale_order_import
    Add unit tests in sale_order_import
    Use display_name instead of name_get()[0][1]
    
    Fix travis
    alexis-via authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    0cca485 View commit details
    Browse the repository at this point in the history
  16. 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 antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    8549cb8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    673f394 View commit details
    Browse the repository at this point in the history
  18. [ADD] icon.png

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    824ad9b View commit details
    Browse the repository at this point in the history
  19. [12.0][MIG] sale_order_import

    astirpe authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    758a0ee View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    229cedf View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    78378d2 View commit details
    Browse the repository at this point in the history
  22. [UPD] README.rst

    sebalix authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    49f3cac View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    64d1c7a View commit details
    Browse the repository at this point in the history
  24. [UPD] README.rst

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    9af6222 View commit details
    Browse the repository at this point in the history
  25. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-13.0/edi-13.0-sale_order_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-13-0/edi-13-0-sale_order_import/
    oca-transbot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    79ab6f7 View commit details
    Browse the repository at this point in the history
  26. 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 antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    4198ce7 View commit details
    Browse the repository at this point in the history
  27. sale_order_import: Match existing quotation respecting the PO number

    Do not suggest to update an open quotation that does not have the
    corresponding client ref. UBL endpoint was blocked as soon as a
    quotation for the same customer was existing.
    jbaudoux authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    ed1b915 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    8a78008 View commit details
    Browse the repository at this point in the history
  29. sale_order_import 13.0.2.0.0

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    015d1e9 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    de91a75 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    e85c487 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    80dca1a View commit details
    Browse the repository at this point in the history
  33. [UPD] README.rst

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    1f32680 View commit details
    Browse the repository at this point in the history
  34. [FW][14.0][IMP] Add sale order ubl parse latest delivery

    Parse the latest delivery date and time from the delivery node of an UBL
    sales order.
    And assign the value to the `commitment_date` of the sales order.
    TDu authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    be04cbc View commit details
    Browse the repository at this point in the history
  35. sale_order_import 14.0.1.1.0

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    9642519 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    6f6b2dd View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    881cf44 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    dfe1f7a View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    4deb227 View commit details
    Browse the repository at this point in the history
  40. sale_order_import 14.0.1.1.1

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    2bbe618 View commit details
    Browse the repository at this point in the history
  41. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-14.0/edi-14.0-sale_order_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-sale_order_import/
    oca-transbot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    5e05118 View commit details
    Browse the repository at this point in the history
  42. [ADD][13.0]sale_order_import no mail subscribe

    Disable the subscription (mail chatter) to the new sales order
    for the user used by the endpoint.
    To me it does make sense because good practice would be to have a
    specific user for the endpoint.
    TDu authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    576fc48 View commit details
    Browse the repository at this point in the history
  43. [13.0][IMP] sale_order_import add hook search existing

    When importing an order the module checks if a similar order already
    exists in the system. The search domain used for this is not
    customizable.
    This change extract the domain computation for the search in its own
    function.
    TDu authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    31cc0f4 View commit details
    Browse the repository at this point in the history
  44. sale_order_import 14.0.1.2.0

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    02cd491 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    f7af1f5 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    ec92932 View commit details
    Browse the repository at this point in the history
  47. sale_order_import 14.0.1.2.1

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    800a15c View commit details
    Browse the repository at this point in the history
  48. sale_order_import: _parse_xml handle NotImplementedError

    When no handler is defined for the given document
    NotImplementedError could be raised.
    
    Handle this case properly when parsing.
    simahawk authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    1089f31 View commit details
    Browse the repository at this point in the history
  49. sale_order_import 14.0.1.2.2

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    5e8046f View commit details
    Browse the repository at this point in the history
  50. sale_order_import: fix missing company default

    SO and SOL creation should be done w/ all defaults loaded.
    In particular, the company is not propagated directly to the SOL
    when we play onchanges.
    
    Hence, at least in our tests, it can happen
    that the company is not set yet on the line
    and the computation of the price via 'product._get_tax_included_unit_price'
    is broken when calling 'res.currency._convert' w/ an empty company.
    
    Error example::
    
        [...]/base/models/res_currency.py", line 192, in _convert
        assert company, "convert amount from unknown company"
        AssertionError: convert amount from unknown company
    
    ATM I'm adding only the company since it turns out that
    if we load all defaults w/ `order.default_get` it breaks price
    computation.
    simahawk authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    c57608c View commit details
    Browse the repository at this point in the history
  51. sale_order_import 14.0.1.2.3

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    40dafa8 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    04ec9b4 View commit details
    Browse the repository at this point in the history
  53. sale_order_import 14.0.1.3.0

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    55860b4 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    f91d883 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    c0155df View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    fdb6fde View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    0cb0098 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    3d0e2a7 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    0a02d19 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    70fbd04 View commit details
    Browse the repository at this point in the history
  61. sale_order_import: use pdf_helper

    simahawk authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    48587c9 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    cbb13c5 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    809bc79 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    5fac0dd View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    b6b67cb View commit details
    Browse the repository at this point in the history
  66. [UPD] Update sale_order_import.pot

    oca-ci authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    845ebf8 View commit details
    Browse the repository at this point in the history
  67. [UPD] README.rst

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    cb84016 View commit details
    Browse the repository at this point in the history
  68. sale_order_import 14.0.1.4.0

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    4f2a9f3 View commit details
    Browse the repository at this point in the history
  69. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-14.0/edi-14.0-sale_order_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-sale_order_import/
    oca-transbot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    af04f12 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    ed2e8ec View commit details
    Browse the repository at this point in the history
  71. sale_order_import 14.0.1.4.1

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    a5df226 View commit details
    Browse the repository at this point in the history
  72. sale_order_import: propagate all available fields

    Handle additional fields dynamically if available.
    This way, if you add a field to a record and it's value is injected by a parser
    you won't have to override  to let it propagate.
    simahawk authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    8206980 View commit details
    Browse the repository at this point in the history
  73. sale_order_import 14.0.1.4.2

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    f867cce View commit details
    Browse the repository at this point in the history
  74. sale_order_import: accept default order data via ctx

    You can now pass 'sale_order_import__default_vals' key in the ctx
    to pass order values down the stack.
    simahawk authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    5cf368b View commit details
    Browse the repository at this point in the history
  75. sale_order_import 14.0.1.5.0

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    0be738e View commit details
    Browse the repository at this point in the history
  76. [UPD] README.rst

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    98125d5 View commit details
    Browse the repository at this point in the history
  77. [MIG] sale_order_import: Migration to 16.0

    duongtq authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    d3dfef5 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    720540e View commit details
    Browse the repository at this point in the history
  79. [IMP] sale_order_import: Refactor code

    - Add new selection import_type field for choosing the type to import
    - Refactor _parse_file with import_type field
    - Drop some not used method
    duongtq authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    add3966 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    a34867f View commit details
    Browse the repository at this point in the history
  81. [UPD] Update sale_order_import.pot

    oca-ci authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    46acf5e View commit details
    Browse the repository at this point in the history
  82. [IMP] sale_order_import: add confirm_order flag to wizard

    When the flag is enabled, the order will be automatically confirmed.
    Mostly used when the wizard is used as a tool to import orders.
    duongtq authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    245090b View commit details
    Browse the repository at this point in the history
  83. [UPD] Update sale_order_import.pot

    oca-ci authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    fa9f36e View commit details
    Browse the repository at this point in the history
  84. [BOT] post-merge updates

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    3809617 View commit details
    Browse the repository at this point in the history
  85. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-16.0/edi-16.0-sale_order_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-sale_order_import/
    weblate authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    fa026ec View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    ac2c45b View commit details
    Browse the repository at this point in the history
  87. [UPD] Update sale_order_import.pot

    oca-ci authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    8916ff7 View commit details
    Browse the repository at this point in the history
  88. [BOT] post-merge updates

    OCA-git-bot authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    0c1f29b View commit details
    Browse the repository at this point in the history
  89. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: edi-16.0/edi-16.0-sale_order_import
    Translate-URL: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-sale_order_import/
    weblate authored and antonioburic committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    69bc613 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    464e5ff View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

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