From 44daa0a641e489515eb73fc35fcea308d6cb49e8 Mon Sep 17 00:00:00 2001 From: Sanket322 Date: Mon, 27 Jan 2025 13:21:56 +0530 Subject: [PATCH] fix: set the new values always --- erpnext/public/js/utils.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index 088a3329f1f..d0355879588 100755 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -713,10 +713,10 @@ erpnext.utils.update_child_items = function (opts) { ); if (row) { Object.assign(row, { - conversion_factor: me.doc.conversion_factor || conversion_factor, - uom: me.doc.uom || uom, - qty: me.doc.qty || qty, - rate: me.doc.rate || rate, + conversion_factor: conversion_factor, + uom: uom, + qty: qty, + rate: rate, }); dialog.fields_dict.trans_items.grid.refresh(); }