mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
Merge pull request #50867 from frappe/version-14-hotfix
This commit is contained in:
@@ -443,7 +443,7 @@ class JobCard(Document):
|
|||||||
op_row.employee.append(time_log.employee)
|
op_row.employee.append(time_log.employee)
|
||||||
if time_log.time_in_mins:
|
if time_log.time_in_mins:
|
||||||
op_row.completed_time += 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:
|
for row in self.sub_operations:
|
||||||
operation_deatils = operation_wise_completed_time.get(row.sub_operation)
|
operation_deatils = operation_wise_completed_time.get(row.sub_operation)
|
||||||
|
|||||||
@@ -438,6 +438,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
|
|
||||||
item.weight_per_unit = 0;
|
item.weight_per_unit = 0;
|
||||||
item.weight_uom = '';
|
item.weight_uom = '';
|
||||||
|
item.uom = null // make UOM blank to update the existing UOM when item changes
|
||||||
item.conversion_factor = 0;
|
item.conversion_factor = 0;
|
||||||
|
|
||||||
if(['Sales Invoice'].includes(this.frm.doc.doctype)) {
|
if(['Sales Invoice'].includes(this.frm.doc.doctype)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user