Skip to content

Commit

Permalink
[12.0][IMP] l10n_it_fatturapa_out and l10n_it_fatturapa_out_triple_di…
Browse files Browse the repository at this point in the history
…scount: modifica del type di Importo in ScontoMaggiorazioneType (OCA#1875)

* [IMP] l10n_it_fatturapa_out: change precision_rounding of ScontoMaggiorazioneType according to e-invoicing specs 1.6

* [IMP] l10n_it_fatturapa_out_triple_discount: change precision_rounding of ScontoMaggiorazioneType according to e-invoicing specs 1.6
  • Loading branch information
tafaRU authored and SirAionTech committed Nov 15, 2023
1 parent 0c24bfa commit 401f232
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ def setDettaglioLinea(
DettaglioLinea.ScontoMaggiorazione.append(
ScontoMaggiorazioneType(
Tipo='SC',
Percentuale='%.2f' % float_round(line.discount2, 2)
Percentuale='%.8f' % float_round(line.discount2, 8)
))
if line.discount3:
DettaglioLinea.ScontoMaggiorazione.append(
ScontoMaggiorazioneType(
Tipo='SC',
Percentuale='%.2f' % float_round(line.discount3, 2)
Percentuale='%.8f' % float_round(line.discount3, 8)
))
return res

0 comments on commit 401f232

Please sign in to comment.