Skip to content

Commit

Permalink
[FIX] l10n_br_account_payment_brcobranca: discount value
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoParadeda committed Sep 26, 2024
1 parent d91fa1f commit 9e14836
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def prepare_bank_payment_line(self, bank_name_brcobranca):
# Casos mapeados que enviam Zero para quando não tem valor
discount_code = "0"

linhas_pagamentos["cod_desconto"] = discount_code
if discount_code:
linhas_pagamentos["cod_desconto"] = discount_code

return linhas_pagamentos

0 comments on commit 9e14836

Please sign in to comment.