mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
fix: Make sure row object has doctype so that read only property is applied to rows
This commit is contained in:
@@ -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);
|
let pending_qty = (flt(d.stock_qty) - flt(d.ordered_qty)) / flt(d.conversion_factor);
|
||||||
if (pending_qty > 0) {
|
if (pending_qty > 0) {
|
||||||
po_items.push({
|
po_items.push({
|
||||||
|
"doctype": "Sales Order Item",
|
||||||
"name": d.name,
|
"name": d.name,
|
||||||
"item_name": d.item_name,
|
"item_name": d.item_name,
|
||||||
"item_code": d.item_code,
|
"item_code": d.item_code,
|
||||||
|
|||||||
Reference in New Issue
Block a user