Skip to content

Commit

Permalink
fix: not able to make sales return entry (backport #44605) (#44613)
Browse files Browse the repository at this point in the history
fix: not able to make sales return entry (#44605)

(cherry picked from commit 314c7b8)

Co-authored-by: rohitwaghchaure <[email protected]>
  • Loading branch information
mergify[bot] and rohitwaghchaure authored Dec 9, 2024
1 parent 243bf54 commit 04b07a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def set_valuation_rate_for_return_entry(self, return_aginst, save=False):
else:
valuation_rate = valuation_details["batches"].get(row.batch_no)

row.incoming_rate = valuation_rate
row.incoming_rate = flt(valuation_rate)
row.stock_value_difference = flt(row.qty) * flt(row.incoming_rate)

if save:
Expand Down

0 comments on commit 04b07a9

Please sign in to comment.