mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
[ Enhance ] Production to Work Order (#12902)
* remove occurrences of Production Order * rename from report and jsons * Change Production Order to Work Order * change occurences of production order from other files * resolve minor conflict issues and reports * patch added * codacy fix * updated patches, leftover changes * rename reports, rectify patches
This commit is contained in:
@@ -52,7 +52,7 @@ def get_notification_config():
|
||||
"status": ("not in", ("Completed", "Closed")),
|
||||
"docstatus": ("<", 2)
|
||||
},
|
||||
"Production Order": { "status": ("in", ("Draft", "Not Started", "In Process")) },
|
||||
"Work Order": { "status": ("in", ("Draft", "Not Started", "In Process")) },
|
||||
"BOM": {"docstatus": 0},
|
||||
|
||||
"Timesheet": {"status": "Draft"},
|
||||
|
||||
@@ -97,7 +97,7 @@ data_map = {
|
||||
"conditions": ["docstatus=1"],
|
||||
"order_by": "posting_date, posting_time, name",
|
||||
},
|
||||
"Production Order": {
|
||||
"Work Order": {
|
||||
"columns": ["name", "production_item as item_code",
|
||||
"(qty - produced_qty) as qty",
|
||||
"fg_warehouse as warehouse"],
|
||||
@@ -293,7 +293,7 @@ data_map = {
|
||||
},
|
||||
|
||||
# Manufacturing
|
||||
"Production Order": {
|
||||
"Work Order": {
|
||||
"columns": ["name","status","creation","planned_start_date","planned_end_date","status","actual_start_date","actual_end_date", "modified"],
|
||||
"conditions": ["docstatus = 1"],
|
||||
"order_by": "creation"
|
||||
|
||||
Reference in New Issue
Block a user