fix: sales person allocated amount calculation error nonetype and float (#35293)
fix: sales person allocated amount calculation error nonetype and float (#35293)
fix: sales person allocated amount calculation error nontype and float
(cherry picked from commit 0c8276ec82)
Co-authored-by: Indrajith.vs <91895505+Gubbu77@users.noreply.github.com>
This commit is contained in:
@@ -171,7 +171,7 @@ class SellingController(StockController):
|
||||
self.round_floats_in(sales_person)
|
||||
|
||||
sales_person.allocated_amount = flt(
|
||||
self.amount_eligible_for_commission * sales_person.allocated_percentage / 100.0,
|
||||
flt(self.amount_eligible_for_commission) * sales_person.allocated_percentage / 100.0,
|
||||
self.precision("allocated_amount", sales_person),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user