l10n_it_withholding_tax: pagando più fatture il rimane un amount_residual pari al valore delle ritenute #3771
Labels
16.0
bug
hotfix
needs functional review
needs porting
This issue has already been resolved for some version
no stale
Use this label to prevent the automated stale action from closing this PR/Issue.
Module
l10n_it_withholding_tax
Describe the bug
PAgando più fatture con ritenuta , il valore dell'amount residual rimane pari al valore delle ritenute con segno negativo perchè riconcilia la fattura sul totale e non sul totale al netto delle ritenute
To Reproduce
Affected versions:
14.0
: [FIX] l10n_it_withholding_tax: pagando più fatture il rimane un amount_residual pari al valore delle ritenute #441816.0
: sìversione modulo 16.0.1.1.2
penso di aver risolto con questa modifica al codice
if (
float_compare(
amount,
invoice.amount_net_pay,
precision_rounding=digits_rounding_precision,
)
== 1
):
vals.update({"amount": invoice.amount_net_pay})
vals.update({"credit_amount_currency": invoice.amount_net_pay})
vals.update({"debit_amount_currency": invoice.amount_net_pay})
aggiungendo le parti in neretto
The text was updated successfully, but these errors were encountered: