mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-20 15:25:13 +00:00
fix: remove duplicate
This commit is contained in:
@@ -713,7 +713,7 @@ erpnext.utils.update_child_items = function (opts) {
|
||||
uom,
|
||||
conversion_factor,
|
||||
item_name,
|
||||
default_bom,
|
||||
bom_no,
|
||||
} = r.message;
|
||||
|
||||
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,
|
||||
rate: me.doc.rate || rate,
|
||||
item_name: item_name,
|
||||
bom_no: default_bom,
|
||||
bom_no: bom_no,
|
||||
});
|
||||
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_uom": ctx.weight_uom or item.get("weight_uom"),
|
||||
"grant_commission": item.get("grant_commission"),
|
||||
"default_bom": item.default_bom,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user