Skip to content

Commit

Permalink
[5044][IMP] account_commission_sales_fee (#152)
Browse files Browse the repository at this point in the history
[5044][IMP] account_commission_sales_fee (#152)
Zero-value sales are now subject to sales fees as per the new operational policy.
  • Loading branch information
nobuQuartile authored Dec 23, 2024
1 parent ceaf38e commit 422fcbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def _prepare_sales_fee_product(self, commission):
"quantity": len(
self.line_ids.filtered(
lambda line: line.commission_id == commission
and line.settled_amount > 0.0
and line.settled_amount >= 0.0
)
),
"price_unit": commission.sales_fee_product_id.list_price * -1,
Expand Down

0 comments on commit 422fcbc

Please sign in to comment.