refactor(job_card): move the stock uom next to the qty it measures

This commit is contained in:
Mihir Kandoi
2026-08-01 14:26:12 +05:30
parent d4d5bf5d86
commit 500b9073e7
2 changed files with 5 additions and 5 deletions

View File

@@ -13,11 +13,11 @@
"work_order", "work_order",
"column_break_uqjq", "column_break_uqjq",
"production_item", "production_item",
"bom_no",
"column_break_qrpg", "column_break_qrpg",
"for_quantity", "for_quantity",
"stock_uom",
"column_break_yecz", "column_break_yecz",
"bom_no", "stock_uom",
"section_break_oisd", "section_break_oisd",
"company", "company",
"naming_series", "naming_series",
@@ -697,7 +697,7 @@
"grid_page_length": 50, "grid_page_length": 50,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2026-08-01 14:30:00.000000", "modified": "2026-08-01 14:22:19.926911",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Manufacturing", "module": "Manufacturing",
"name": "Job Card", "name": "Job Card",

View File

@@ -822,8 +822,8 @@ class ShopFloor {
d.set_value("completed_qty", max_completed_qty); d.set_value("completed_qty", max_completed_qty);
frappe.throw( frappe.throw(
__("Completed Quantity cannot be greater than {0}", [ __("Completed Quantity cannot be greater than {0}", [
qty_with_uom(max_completed_qty), qty_with_uom(max_completed_qty),
]) ])
); );
} }