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] l10n_th_multicurrency_revaluation #416

Open
wants to merge 5 commits into
base: 16.0
Choose a base branch
from

Commits on Nov 13, 2024

  1. [15.0][ADD] l10n_th_multicurrency_revaluation

    ps-tubtim authored and saran committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    457776c View commit details
    Browse the repository at this point in the history
  2. [UPD] Update l10n_th_multicurrency_revaluation.pot

    oca-ci authored and saran committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    434ac33 View commit details
    Browse the repository at this point in the history
  3. [IMP] l10n_th_multicurrency_revaluation: pre-commit stuff

    Saran440 authored and saran committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    49c4a31 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c42b372 View commit details
    Browse the repository at this point in the history
  5. [FIX] l10n_th_multicurrency_revaluation: Corrected journal entry amou…

    …nts for partial payment revaluations.
    
    This fix where the debit and credit amounts on journal entries were incorrect when performing currency revaluations on partially paid invoices.
    
    Step to test:
    1. On 01/01/2024, a vendor bill was issued for 100 CNY at a rate of 1 CNY = 5 THB.
    2. A payment of 40 CNY was recorded on the same day at the same rate.
    3. A currency revaluation was conducted on 31/01/2024, with the rate adjusted to 1 CNY = 4.30 THB.
    4. The journal entry incorrectly reflected an exchange rate difference of 70, calculated as 100 x 5 - 100 x 4.30 (instead of the correct amount, 42 CNY, calculated as (100 - 40) x 5 - (100 - 40) x 4.30).
    Your Name authored and saran committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    155991a View commit details
    Browse the repository at this point in the history