fix: Make sure row object has doctype so that read only property is applied to rows
This commit is contained in:
parent
413b1c3b43
commit
e3864c9b16
@ -669,6 +669,7 @@ erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend(
|
||||
let pending_qty = (flt(d.stock_qty) - flt(d.ordered_qty)) / flt(d.conversion_factor);
|
||||
if (pending_qty > 0) {
|
||||
po_items.push({
|
||||
"doctype": "Sales Order Item",
|
||||
"name": d.name,
|
||||
"item_name": d.item_name,
|
||||
"item_code": d.item_code,
|
||||
|
Loading…
x
Reference in New Issue
Block a user