Merge pull request #50867 from frappe/version-14-hotfix

This commit is contained in:
Diptanil Saha
2025-12-03 11:12:16 +05:30
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -443,7 +443,7 @@ class JobCard(Document):
op_row.employee.append(time_log.employee)
if time_log.time_in_mins:
op_row.completed_time += time_log.time_in_mins
op_row.completed_qty += time_log.completed_qty
op_row.completed_qty += flt(time_log.completed_qty)
for row in self.sub_operations:
operation_deatils = operation_wise_completed_time.get(row.sub_operation)

View File

@@ -438,6 +438,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
item.weight_per_unit = 0;
item.weight_uom = '';
item.uom = null // make UOM blank to update the existing UOM when item changes
item.conversion_factor = 0;
if(['Sales Invoice'].includes(this.frm.doc.doctype)) {