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

[16.0] [MIG] account_payment_mode #968

Merged
merged 76 commits into from
Oct 20, 2022

Commits on Oct 10, 2022

  1. [ADD] acocunt_payment_mode: Start to port bank-payment to v9 (with a …

    …lot of improvements) during the Sorrento Code sprint 2016
    
    Improvements include:
    
    - full re-organisation of modules and big re-organisation of the code
    - simplification of the code related to the fact that support for direct debit is now in t
    he base module, not added by an optional module account_direct_debit (module was removed)
    - new design of the wizard to select move lines to pay
    - support for non-SEPA file transfer-
    - support for German direct debit SEPA files (fixes bug OCA#129)
    - remove workflow of payment.order
    
    - Finalise the wizard of selection of move lines to pay
    
      Add button "Add to payment/debit order" on invoice form view
      Started to integrate payment transfer in account_payment_order (not finished at all though)
      Various fixes/changes/improvements/...
    
    - Update and re-enable demo data
    - Move field bank_account_required from module account_payment_partner to account_payment_mode
    
      Make the mandate a required field on payment line when the payment method has mandate_required=True
      Make the bank account a required field on payment line when the payment method has bank_account_required=True
    
    - Enable the payment methods by default on bank journals (including existing bank journals via post_install scripts)
    alexis-via authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    195cd6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    647ac78 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffd04c0 View commit details
    Browse the repository at this point in the history
  4. Port almost all modules to v10 (OCA#305)

    Port almost all modules to v10
    
    * Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug OCA#300)
    Alexis de Lattre authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    ffbae48 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4126149 View commit details
    Browse the repository at this point in the history
  6. [FIX] account_payment_*: 2 fixes

    * Fix payment method onchange with multicompany (OCA#374)
    * Add relational inverse field for payment.mode on payment.method
    grindtildeath authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    0dcc916 View commit details
    Browse the repository at this point in the history
  7. [MIG] account_payment_mode

    etobella authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    e95c4fd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0edeba3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7799926 View commit details
    Browse the repository at this point in the history
  10. [FIX+IMP] account_payment_mode: Several small usability improvements …

    …+ fix
    
    - FIX: Don't store acc_type of res.partner.bank (OCA#467)
    - when manually encoding a payment line, get company currency as default currency
    - Search on payment order numbers
    - Direct search on bank journal name in payment orders
    - remove widget="selection" on account.payement.mode : this object is rarely modified, so widget='selection' is not a time saver, but we miss the HTML link, which can be pretty convenient to check the configuration.
    Alexis de Lattre authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    5ff17ef View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    de2bed8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2adae99 View commit details
    Browse the repository at this point in the history
  13. Translated using Weblate (Español (España))

    Currently translated at 100,0% (51 of 51 strings)
    
    Translation: bank-payment-11.0/bank-payment-11.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_payment_mode/es/
    etobella authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    f6c8bbc View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2c4cb16 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    62054ad View commit details
    Browse the repository at this point in the history
  16. [FIX] account_payment_mode: Don't show 2 times acc_type in partner ba…

    …nk form
    
    It's already on standard.
    pedrobaeza authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    9318cab View commit details
    Browse the repository at this point in the history
  17. [11.0][FIX] account_payment_mode res.partner view banks group attribute

    Description of the issue/feature this PR addresses:
    
    The modules adds `{'invisible': [('parent_id', '!=', False)]}` attribute
    to `banks` group on res.partner form view. The rationale for this,
    according to a comment on the view itself is:
    > ... there is a domain on the 'partner_id' field of res.partner.bank
    (base module) which prevents the selection of a contact
    
    However, the domain the comment refers to is
    `['|', ('is_company', '=', True), ('parent_id', '=', False)]`
    So, I think the domain for the group to be invisible should be
    `[('parent_id', '!=', False), ('is_company', '=', False)]`. In addition,
    a parent that is a company is always its own commercial partner. So we
    should have access to its payment information.
    
    Current behavior before PR:
    
    Bank and mandates information is hidden when a partner is a company and
    has a parent.
    
    Desired behavior after PR is merged:
    
    Banking information should be visible if a partner is a company.
    Jon Zaballa authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    ecdcd12 View commit details
    Browse the repository at this point in the history
  18. [FIX] account_payment_mode: Don't change acc_type field type

    It's not needed and can cause problems.
    pedrobaeza authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    b2d3403 View commit details
    Browse the repository at this point in the history
  19. Translated using Weblate (Catalan)

    Currently translated at 49.1% (27 of 55 strings)
    
    Translation: bank-payment-12.0/bank-payment-12.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_mode/ca/
    Jaume Planas authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    3932e65 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    297ff80 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    6288e03 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    e78141e View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7bc5ac3 View commit details
    Browse the repository at this point in the history
  24. [UPD] README.rst

    OCA-git-bot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    9c8b059 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    01877e7 View commit details
    Browse the repository at this point in the history
  26. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: bank-payment-13.0/bank-payment-13.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_mode/
    oca-transbot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    73a591e View commit details
    Browse the repository at this point in the history
  27. pre-commit update

    OCA-git-bot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    2c95faa View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    afd1f39 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    23d1441 View commit details
    Browse the repository at this point in the history
  30. [FIX] multicompany rule

    astirpe authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    2a2de72 View commit details
    Browse the repository at this point in the history
  31. [UPD] README.rst

    OCA-git-bot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    e878a12 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    20d6fdd View commit details
    Browse the repository at this point in the history
  33. Remove obsolete company_partner_id

    Hughes Damry authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    b4bab50 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    cf1a2e1 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    cc120e4 View commit details
    Browse the repository at this point in the history
  36. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: bank-payment-13.0/bank-payment-13.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_mode/
    oca-transbot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    7331899 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    20bdd1c View commit details
    Browse the repository at this point in the history
  38. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: bank-payment-13.0/bank-payment-13.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_mode/
    oca-transbot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    e7ef7cb View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    96894f3 View commit details
    Browse the repository at this point in the history
  40. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (53 of 53 strings)
    
    Translation: bank-payment-13.0/bank-payment-13.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_mode/es_AR/
    ibuioli authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    6fa8a99 View commit details
    Browse the repository at this point in the history
  41. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (53 of 53 strings)
    
    Translation: bank-payment-13.0/bank-payment-13.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_mode/es_AR/
    ibuioli authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    c56c8e4 View commit details
    Browse the repository at this point in the history
  42. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (53 of 53 strings)
    
    Translation: bank-payment-13.0/bank-payment-13.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_mode/es_AR/
    ibuioli authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    99c06d8 View commit details
    Browse the repository at this point in the history
  43. Update "development_status": "Production/Stable"

    Update "development_status": "Production/Stable"
    rafaelbn authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    2261486 View commit details
    Browse the repository at this point in the history
  44. [UPD] README.rst

    OCA-git-bot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    dcc690d View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    300dc10 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    c87ae71 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    c6750b6 View commit details
    Browse the repository at this point in the history
  48. [UPD] README.rst

    OCA-git-bot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    fa40e93 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    ece10c2 View commit details
    Browse the repository at this point in the history
  50. Translated using Weblate (French (France))

    Currently translated at 100.0% (53 of 53 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/fr_FR/
    Yvesldff authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    d4cbd9a View commit details
    Browse the repository at this point in the history
  51. Added translation using Weblate (Spanish (Chile))

    Nelson Ramírez Sánchez authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    296e422 View commit details
    Browse the repository at this point in the history
  52. Translated using Weblate (Spanish)

    Currently translated at 100.0% (53 of 53 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/es/
    Nelson Ramírez Sánchez authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    1558101 View commit details
    Browse the repository at this point in the history
  53. Translated using Weblate (Spanish (Chile))

    Currently translated at 100.0% (53 of 53 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/es_CL/
    Nelson Ramírez Sánchez authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    bea0421 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    8a7c9c8 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    280cfae View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    e7dcf58 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: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/
    oca-transbot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    784a5e3 View commit details
    Browse the repository at this point in the history
  58. Translated using Weblate (Dutch)

    Currently translated at 90.3% (47 of 52 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/nl/
    bosd authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    f2f3924 View commit details
    Browse the repository at this point in the history
  59. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (52 of 52 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/es_AR/
    ibuioli authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    e89e3e4 View commit details
    Browse the repository at this point in the history
  60. Translated using Weblate (French)

    Currently translated at 98.0% (51 of 52 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/fr/
    Yvesldff authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    be2933d View commit details
    Browse the repository at this point in the history
  61. Translated using Weblate (Portuguese)

    Currently translated at 100.0% (52 of 52 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/pt/
    pedrocs-exo authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    3e668cd View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    29c7f06 View commit details
    Browse the repository at this point in the history
  63. Update test suite

    Fix bug in account_banking_mandate when a res.partner.bank is not attached to a particular company (company_id is NOT required on res.partner.bank)
    alexis-via authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    db9487f View commit details
    Browse the repository at this point in the history
  64. Translated using Weblate (Italian)

    Currently translated at 61.5% (32 of 52 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/it/
    francesco-ooops authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    df4c5f5 View commit details
    Browse the repository at this point in the history
  65. Translated using Weblate (Catalan)

    Currently translated at 100.0% (52 of 52 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/ca/
    jabelchi authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    5003464 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    357c894 View commit details
    Browse the repository at this point in the history
  67. Translated using Weblate (Swedish)

    Currently translated at 100.0% (52 of 52 strings)
    
    Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
    Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/sv/
    simonstromb authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    63d4dde View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    a77f162 View commit details
    Browse the repository at this point in the history
  69. [UPD] Update account_payment_mode.pot

    oca-ci authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    f5d3fd4 View commit details
    Browse the repository at this point in the history
  70. [UPD] README.rst

    OCA-git-bot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    a646d33 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    cf1ccdc View commit details
    Browse the repository at this point in the history
  72. [UPD] README.rst

    OCA-git-bot authored and ThomasBinsfeld committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    4678c38 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    9211bc5 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    76fb54e View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    ba2f864 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    de70eee View commit details
    Browse the repository at this point in the history