mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
fix: remove duplicate
This commit is contained in:
@@ -713,7 +713,7 @@ erpnext.utils.update_child_items = function (opts) {
|
|||||||
uom,
|
uom,
|
||||||
conversion_factor,
|
conversion_factor,
|
||||||
item_name,
|
item_name,
|
||||||
default_bom,
|
bom_no,
|
||||||
} = r.message;
|
} = r.message;
|
||||||
|
|
||||||
const row = dialog.fields_dict.trans_items.df.data.find(
|
const row = dialog.fields_dict.trans_items.df.data.find(
|
||||||
@@ -726,7 +726,7 @@ erpnext.utils.update_child_items = function (opts) {
|
|||||||
qty: me.doc.qty || qty,
|
qty: me.doc.qty || qty,
|
||||||
rate: me.doc.rate || rate,
|
rate: me.doc.rate || rate,
|
||||||
item_name: item_name,
|
item_name: item_name,
|
||||||
bom_no: default_bom,
|
bom_no: bom_no,
|
||||||
});
|
});
|
||||||
dialog.fields_dict.trans_items.grid.refresh();
|
dialog.fields_dict.trans_items.grid.refresh();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -479,7 +479,6 @@ def get_basic_details(ctx: ItemDetailsCtx, item, overwrite_warehouse=True) -> It
|
|||||||
"weight_per_unit": ctx.weight_per_unit or item.get("weight_per_unit"),
|
"weight_per_unit": ctx.weight_per_unit or item.get("weight_per_unit"),
|
||||||
"weight_uom": ctx.weight_uom or item.get("weight_uom"),
|
"weight_uom": ctx.weight_uom or item.get("weight_uom"),
|
||||||
"grant_commission": item.get("grant_commission"),
|
"grant_commission": item.get("grant_commission"),
|
||||||
"default_bom": item.default_bom,
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user