Skip to content

Commit

Permalink
[IMP] l10n_it_split_payment: Just remove tax from total
Browse files Browse the repository at this point in the history
  • Loading branch information
SirTakobi committed May 5, 2022
1 parent 2fc97d2 commit 3f200d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_it_split_payment/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def _compute_amount(self):
self.amount_sp = 0
if self.fiscal_position_id.split_payment:
self.amount_sp = self.amount_tax
self.amount_total -= self.amount_tax
self.amount_tax = 0
self.amount_total = self.amount_untaxed + self.amount_tax

def _build_debit_line(self):
if not self.company_id.sp_account_id:
Expand Down

0 comments on commit 3f200d0

Please sign in to comment.