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] account_multicurrency_revaluation #302

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

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    ddcf636 View commit details
    Browse the repository at this point in the history
  2. [MIG] account_multicurrency_revaluation: Migration to 12.0

    - getting rid of validation because rate will always be at least '1.0' because
    of (res.currency)_get_rates query
    
    - create just one Journal Entry per Currency Revaluation run depending the
    account type
    hbto authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    2667f8b View commit details
    Browse the repository at this point in the history
  3. Translated using Weblate (Spanish)

    Currently translated at 98.8% (80 of 81 strings)
    
    Translation: account-closing-12.0/account-closing-12.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-12-0/account-closing-12-0-account_multicurrency_revaluation/es/
    mvrodriguez authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    37b706c View commit details
    Browse the repository at this point in the history
  4. Translated using Weblate (Spanish)

    Currently translated at 100.0% (81 of 81 strings)
    
    Translation: account-closing-12.0/account-closing-12.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-12-0/account-closing-12-0-account_multicurrency_revaluation/es/
    mvrodriguez authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    82bcfe2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    62e2663 View commit details
    Browse the repository at this point in the history
  6. Drop unneeded override of res.currency

    The override of res.currency _get_conversion_rate did return 1.0 / from_currency.rate
    when 'revaluation' was True in context.
    However, as res.currency.rate is defined per company and the context is only
    used for a computation to the company currency, the std method from odoo will also
    return 1.0 / from_currency.rate, because to_currency is the company currency.
    (https://github.com/odoo/odoo/blob/11.0/odoo/addons/base/res/res_currency.py#L179)
    Therefore, we do not need this override.
    grindtildeath authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    74781c4 View commit details
    Browse the repository at this point in the history
  7. Remove commented line

    This line was already commented in v7.0, so we do not need to keep it across all versions
    grindtildeath authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    1cc58dd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2a28728 View commit details
    Browse the repository at this point in the history
  9. Translated using Weblate (French)

    Currently translated at 100.0% (81 of 81 strings)
    
    Translation: account-closing-12.0/account-closing-12.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-12-0/account-closing-12-0-account_multicurrency_revaluation/fr/
    svalaeys authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    c6b0b68 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a1b573b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e0e1a29 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    11cff82 View commit details
    Browse the repository at this point in the history
  13. [IMP] account_multicurrency_revaluation: black, isort, prettier

    Ernesto Tejeda authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3d0fd38 View commit details
    Browse the repository at this point in the history
  14. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (80 of 80 strings)
    
    Translation: account-closing-13.0/account-closing-13.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-13-0/account-closing-13-0-account_multicurrency_revaluation/es_AR/
    ibuioli authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e28c776 View commit details
    Browse the repository at this point in the history
  15. Translated using Weblate (Chinese (Simplified))

    Currently translated at 7.5% (6 of 80 strings)
    
    Translation: account-closing-13.0/account-closing-13.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-13-0/account-closing-13-0-account_multicurrency_revaluation/zh_CN/
    dong-z authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    4afafda View commit details
    Browse the repository at this point in the history
  16. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (82 of 82 strings)
    
    Translation: account-closing-13.0/account-closing-13.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-13-0/account-closing-13-0-account_multicurrency_revaluation/es_AR/
    ibuioli authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    c81f474 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a32884b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    933b6de View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b0b957b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    27be9a4 View commit details
    Browse the repository at this point in the history
  21. [MIG] account_multicurrency_revaluation: Migration to 14.0

    * Odoo 14.0 changes that impact this module are in below commit.
        * odoo/odoo@caeb782
        * `process_reconciliation` has been changed to `reconcile`, and
          `balance` (positive for debit > credit) is used instead of debit+credit;
        * Bank Journal should have suspense account.
    phuctranfxvn authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    cd962b6 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    3ea5280 View commit details
    Browse the repository at this point in the history
  23. [UPD] README.rst

    OCA-git-bot authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    6d21a94 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    07fbfc6 View commit details
    Browse the repository at this point in the history
  25. [UPD] Update account_multicurrency_revaluation.pot

    oca-ci authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    79bce78 View commit details
    Browse the repository at this point in the history
  26. [UPD] README.rst

    OCA-git-bot authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    c4c66ad View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    c8023be View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    961a110 View commit details
    Browse the repository at this point in the history
  29. Translated using Weblate (Italian)

    Currently translated at 4.8% (4 of 82 strings)
    
    Translation: account-closing-15.0/account-closing-15.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-15-0/account-closing-15-0-account_multicurrency_revaluation/it/
    francesco-ooops authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    786139b View commit details
    Browse the repository at this point in the history
  30. Translated using Weblate (Italian)

    Currently translated at 4.8% (4 of 82 strings)
    
    Translation: account-closing-15.0/account-closing-15.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-15-0/account-closing-15-0-account_multicurrency_revaluation/it/
    francesco-ooops authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    754fa0d View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    403d6a2 View commit details
    Browse the repository at this point in the history
  32. [UPD] Update account_multicurrency_revaluation.pot

    oca-ci authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    157e28e View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    86739af View commit details
    Browse the repository at this point in the history
  34. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: account-closing-15.0/account-closing-15.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-15-0/account-closing-15-0-account_multicurrency_revaluation/
    weblate authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b78209a View commit details
    Browse the repository at this point in the history
  35. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (86 of 86 strings)
    
    Translation: account-closing-15.0/account-closing-15.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-15-0/account-closing-15-0-account_multicurrency_revaluation/es_AR/
    ibuioli authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    6dfe6eb View commit details
    Browse the repository at this point in the history
  36. Translated using Weblate (Spanish)

    Currently translated at 100.0% (86 of 86 strings)
    
    Translation: account-closing-15.0/account-closing-15.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-15-0/account-closing-15-0-account_multicurrency_revaluation/es/
    Ivorra78 authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    cf7bf27 View commit details
    Browse the repository at this point in the history
  37. Translated using Weblate (Spanish)

    Currently translated at 100.0% (86 of 86 strings)
    
    Translation: account-closing-15.0/account-closing-15.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-15-0/account-closing-15-0-account_multicurrency_revaluation/es/
    Ivorra78 authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    945bb9e View commit details
    Browse the repository at this point in the history
  38. [UPD] README.rst

    OCA-git-bot authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    1e0190e View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    7a2c9aa View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    13c1a87 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    e4b2238 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    514287e View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    c03357c View commit details
    Browse the repository at this point in the history
  44. [IMP]account_multicurrency_revaluation: Start and End Date on report …

    …& Include Only Posted Entries
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b2d3d01 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    eed9a0c View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    b3ae0b5 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    6e21d41 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    8f4b711 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    7318702 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    1fcc00a View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    a7f2c19 View commit details
    Browse the repository at this point in the history
  52. [IMP]account_multicurrency_revaluation

    Adapt helps to suggestions and adapt method declarartion to improve the experience of users/developers.
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    21a559f View commit details
    Browse the repository at this point in the history
  53. [IMP]account_multicurrency_revaluation: Remove currency in line

    Removed as it may lead to problems just because the entry may have the currency from the company, and the lines having a different currency. Then we will not be able to post the entry.
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e419b3e View commit details
    Browse the repository at this point in the history
  54. [IMP]account_multicurrency_revaluation: Reverse moves

    Wizard to be able to create the reverse moves given an start date and end date. All revaluated entries during the period will be included and upon the validation, the reverse moves will be created. Also you can determine a posting date which will be the date assigned to all reverse moves created.
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    69d3728 View commit details
    Browse the repository at this point in the history
  55. [IMP]account_multicurrency_revaluation: Always flag revaluated entries

    Remove the setting that allowed the user to possibly flag the revaluated entries created during the main process. Always flag them instead to be used later in the reverse wizard.
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    ef63a5e View commit details
    Browse the repository at this point in the history
  56. [IMP]account_multicurrency_revaluation: Small improvements

    Make both fields readonly as they will be only used in the logic and to filter, the user will not modify them. Also, limit entries appearing in reverse wizard.
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    12795ee View commit details
    Browse the repository at this point in the history
  57. [IMP]account_multicurrency_revaluation: Line origin

    Adds the origin line from where the revaluated line is created. Also, improves the query to get the open items.
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    40558e0 View commit details
    Browse the repository at this point in the history
  58. [FIX]account_multicurrency_revaluation: Use all open items

    Before, the lines were overwriten, so if there were multiple lines for the same account, partner and currency, the last open item was the only one used. Now the amounts are acumulated into one line.
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b18023e View commit details
    Browse the repository at this point in the history
  59. [IMP]account_multicurrency_revaluation

    Two-sided relation between lines created and original ones
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d62540e View commit details
    Browse the repository at this point in the history
  60. [IMP]account_multicurrency_revaluation: Adjust values if partial reco…

    …nciled items
    
    If the origin line that will be revaluated has partially reconciled items, adjust the values to the real ones.
    GuillemCForgeFlow authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f6b573c View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    cc32d88 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    fcd7a2b View commit details
    Browse the repository at this point in the history
  63. [UPD] Update account_multicurrency_revaluation.pot

    oca-ci authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    30ffe7f View commit details
    Browse the repository at this point in the history
  64. [UPD] README.rst

    OCA-git-bot authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    4459b12 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    fc8179f View commit details
    Browse the repository at this point in the history
  66. [UPD] README.rst

    OCA-git-bot authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    468e542 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    8add0ed View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    d8da7a8 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    03e9d15 View commit details
    Browse the repository at this point in the history
  70. [UPD] Update account_multicurrency_revaluation.pot

    oca-ci authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e2fb054 View commit details
    Browse the repository at this point in the history
  71. [BOT] post-merge updates

    OCA-git-bot authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3e38911 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: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/
    weblate authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    7b15c6a View commit details
    Browse the repository at this point in the history
  73. Translated using Weblate (Spanish)

    Currently translated at 100.0% (110 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/es/
    Ivorra78 authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    884928e View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    fee10d9 View commit details
    Browse the repository at this point in the history
  75. [BOT] post-merge updates

    OCA-git-bot authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    1ede77b View commit details
    Browse the repository at this point in the history
  76. [TRN] remove fr_FR.po

    Co-authored-by: Alexis de Lattre <[email protected]>
    2 people authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    0075aa0 View commit details
    Browse the repository at this point in the history
  77. Translated using Weblate (Swedish)

    Currently translated at 100.0% (110 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/sv/
    jakobkrabbe authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d76bbe5 View commit details
    Browse the repository at this point in the history
  78. Translated using Weblate (Swedish)

    Currently translated at 100.0% (110 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/sv/
    jakobkrabbe authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    8fc0526 View commit details
    Browse the repository at this point in the history
  79. Translated using Weblate (Italian)

    Currently translated at 99.0% (109 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/it/
    mymage authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e5db578 View commit details
    Browse the repository at this point in the history
  80. Translated using Weblate (Italian)

    Currently translated at 99.0% (109 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/it/
    mymage authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    625a483 View commit details
    Browse the repository at this point in the history
  81. Translated using Weblate (Persian)

    Currently translated at 100.0% (110 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/fa/
    mostafabarmshory authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    72f2f58 View commit details
    Browse the repository at this point in the history
  82. Translated using Weblate (Croatian)

    Currently translated at 10.0% (11 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/hr/
    badbole authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    57ab7fd View commit details
    Browse the repository at this point in the history
  83. Translated using Weblate (Croatian)

    Currently translated at 26.3% (29 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/hr/
    badbole authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    9f7e122 View commit details
    Browse the repository at this point in the history
  84. Translated using Weblate (Italian)

    Currently translated at 100.0% (110 of 110 strings)
    
    Translation: account-closing-16.0/account-closing-16.0-account_multicurrency_revaluation
    Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_multicurrency_revaluation/it/
    mymage authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f366e71 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    b1fe1f8 View commit details
    Browse the repository at this point in the history
  86. [MIG] account_multicurrency_revaluation: v16 -> v17

    [IMP] fix settings view, demo data, tests, wizard post.
    
    [IMP] naming, structure according to dev guidelines.
    
    [IMP] remove old readme, readonly from model fields.
    milinsoft authored and Qlasta committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    51f432d View commit details
    Browse the repository at this point in the history