Skip to content

Commit

Permalink
fix: serial number decimal issue (backport #37242) (#37250)
Browse files Browse the repository at this point in the history
fix: serial number decimal issue (#37242)

(cherry picked from commit 78ab201)

Co-authored-by: rohitwaghchaure <[email protected]>
  • Loading branch information
mergify[bot] and rohitwaghchaure authored Sep 26, 2023
1 parent 796cc09 commit d558ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/controllers/subcontracting_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ def make_sl_entries_for_supplier_warehouse(self, sl_entries):
{
"item_code": item.rm_item_code,
"warehouse": self.supplier_warehouse,
"actual_qty": -1 * flt(item.consumed_qty),
"actual_qty": -1 * flt(item.consumed_qty, item.precision("consumed_qty")),
"dependant_sle_voucher_detail_no": item.reference_name,
},
)
Expand Down

0 comments on commit d558ba2

Please sign in to comment.