Skip to content

Commit

Permalink
fixup! [ADD] account_cutoff_accrual_order_base
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaudoux committed Oct 25, 2023
1 parent 8f4c52d commit 270dc69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _compute_amount(self):
continue
if rec.parent_id.cutoff_type == "accrued_revenue":
amount = rec.quantity * rec.price_unit
if rec.parent_id.cutoff_type == "accrued_expense":
elif rec.parent_id.cutoff_type == "accrued_expense":
amount = -rec.quantity * rec.price_unit
else:
continue
Expand Down

0 comments on commit 270dc69

Please sign in to comment.