Skip to content

Commit

Permalink
fix: sin commission against
Browse files Browse the repository at this point in the history
  • Loading branch information
fproldan committed Nov 19, 2024
1 parent 9cdeacb commit e520aa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def add_contributions(self, process_sales_commission=None):
record['incentives'] = flt(record['allocated_amount'] * flt(commission_rate) / 100.0, self.precision("total_contribution"))
record['allocated_percentage'] = 100
contribution = {
"commission_filter": record["commission_filter"],
"commission_filter": record["commission_filter"] or f"Sin {self.commission_against}",
"contribution_percent": record["allocated_percentage"],
"contribution_amount": record["allocated_amount"],
"commission_rate": record["commission_rate"],
Expand Down

0 comments on commit e520aa8

Please sign in to comment.