mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
production order operation order by idx
This commit is contained in:
@@ -176,7 +176,7 @@ class ProductionOrder(Document):
|
|||||||
|
|
||||||
operations = frappe.db.sql("""select operation, description, workstation,
|
operations = frappe.db.sql("""select operation, description, workstation,
|
||||||
hour_rate, time_in_mins, operating_cost as "planned_operating_cost", "Pending" as status
|
hour_rate, time_in_mins, operating_cost as "planned_operating_cost", "Pending" as status
|
||||||
from `tabBOM Operation` where parent = %s""", self.bom_no, as_dict=1)
|
from `tabBOM Operation` where parent = %s order by idx""", self.bom_no, as_dict=1)
|
||||||
|
|
||||||
self.set('operations', operations)
|
self.set('operations', operations)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user