mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-18 19:07:55 +00:00
refactor(job_card): move the stock uom next to the qty it measures
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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),
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user