Skip to content

Commit

Permalink
fix: incorrect total qty in job card
Browse files Browse the repository at this point in the history
(cherry picked from commit c3546cf)
  • Loading branch information
rohitwaghchaure authored and mergify[bot] committed Mar 26, 2024
1 parent 208a46f commit fb252ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/manufacturing/doctype/job_card/job_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def add_time_log(self, args):
{
"to_time": get_datetime(args.get("complete_time")),
"operation": args.get("sub_operation"),
"completed_qty": args.get("completed_qty") or 0.0,
"completed_qty": (args.get("completed_qty") if last_row.idx == row.idx else 0.0),
}
)
elif args.get("start_time"):
Expand Down

0 comments on commit fb252ec

Please sign in to comment.