mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
fix: minor update
This commit is contained in:
@@ -670,7 +670,6 @@ erpnext.utils.update_child_items = function (opts) {
|
|||||||
},
|
},
|
||||||
onchange: function () {
|
onchange: function () {
|
||||||
const me = this;
|
const me = this;
|
||||||
const row_index = me.doc.idx;
|
|
||||||
|
|
||||||
frm.call({
|
frm.call({
|
||||||
method: "erpnext.stock.get_item_details.get_item_details",
|
method: "erpnext.stock.get_item_details.get_item_details",
|
||||||
@@ -710,7 +709,7 @@ erpnext.utils.update_child_items = function (opts) {
|
|||||||
const { qty, price_list_rate: rate, uom, conversion_factor } = r.message;
|
const { qty, price_list_rate: rate, uom, conversion_factor } = r.message;
|
||||||
|
|
||||||
const row = dialog.fields_dict.trans_items.df.data.find(
|
const row = dialog.fields_dict.trans_items.df.data.find(
|
||||||
(doc) => doc.idx == row_index
|
(doc) => doc.idx == me.doc.idx
|
||||||
);
|
);
|
||||||
if (row) {
|
if (row) {
|
||||||
Object.assign(row, {
|
Object.assign(row, {
|
||||||
|
|||||||
Reference in New Issue
Block a user