From 500b9073e7dd7d3a0a6f550630bc757733e8a0f2 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Sat, 1 Aug 2026 14:26:12 +0530 Subject: [PATCH] refactor(job_card): move the stock uom next to the qty it measures --- erpnext/manufacturing/doctype/job_card/job_card.json | 6 +++--- erpnext/public/js/shop_floor/shop_floor.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/erpnext/manufacturing/doctype/job_card/job_card.json b/erpnext/manufacturing/doctype/job_card/job_card.json index f1e3f59ee97..86478b7c290 100644 --- a/erpnext/manufacturing/doctype/job_card/job_card.json +++ b/erpnext/manufacturing/doctype/job_card/job_card.json @@ -13,11 +13,11 @@ "work_order", "column_break_uqjq", "production_item", + "bom_no", "column_break_qrpg", "for_quantity", - "stock_uom", "column_break_yecz", - "bom_no", + "stock_uom", "section_break_oisd", "company", "naming_series", @@ -697,7 +697,7 @@ "grid_page_length": 50, "is_submittable": 1, "links": [], - "modified": "2026-08-01 14:30:00.000000", + "modified": "2026-08-01 14:22:19.926911", "modified_by": "Administrator", "module": "Manufacturing", "name": "Job Card", diff --git a/erpnext/public/js/shop_floor/shop_floor.js b/erpnext/public/js/shop_floor/shop_floor.js index b28b3d0646c..a595102c004 100644 --- a/erpnext/public/js/shop_floor/shop_floor.js +++ b/erpnext/public/js/shop_floor/shop_floor.js @@ -822,8 +822,8 @@ class ShopFloor { d.set_value("completed_qty", max_completed_qty); frappe.throw( __("Completed Quantity cannot be greater than {0}", [ - qty_with_uom(max_completed_qty), - ]) + qty_with_uom(max_completed_qty), + ]) ); }