whotopia
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
3 deletions
-
base_accounting_kit/models/payment_matching.py
|
@ -721,9 +721,10 @@ class AccountReconciliation(models.AbstractModel): |
|
|
|
|
|
|
|
|
statement_currency = st_line.journal_id.currency_id or st_line.journal_id.company_id.currency_id |
|
|
statement_currency = st_line.journal_id.currency_id or st_line.journal_id.company_id.currency_id |
|
|
if st_line.amount_currency and st_line.currency_id: |
|
|
if st_line.amount_currency and st_line.currency_id: |
|
|
amount = st_line.amount_currency |
|
|
amount = st_line.amount # st_line.amount_currency |
|
|
amount_currency = st_line.amount |
|
|
amount_currency = st_line.amount_currency # st_line.amount |
|
|
amount_currency_str = formatLang(self.env, abs(amount_currency), currency_obj=statement_currency) |
|
|
#amount_currency_str = formatLang(self.env, abs(amount_currency), currency_obj=statement_currency) |
|
|
|
|
|
amount_currency_str = formatLang(self.env, abs(amount_currency), currency_obj=st_line.foreign_currency_id) |
|
|
else: |
|
|
else: |
|
|
amount = st_line.amount |
|
|
amount = st_line.amount |
|
|
amount_currency = amount |
|
|
amount_currency = amount |
|
|