mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
Merge pull request #40687 from frappe/mergify/bp/version-14-hotfix/pr-40684
fix: incorrect total qty in job card (backport #40684)
This commit is contained in:
@@ -375,7 +375,7 @@ class JobCard(Document):
|
|||||||
{
|
{
|
||||||
"to_time": get_datetime(args.get("complete_time")),
|
"to_time": get_datetime(args.get("complete_time")),
|
||||||
"operation": args.get("sub_operation"),
|
"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"):
|
elif args.get("start_time"):
|
||||||
|
|||||||
Reference in New Issue
Block a user