-webnotes +frappe 💥

This commit is contained in:
Rushabh Mehta
2014-02-14 15:47:51 +05:30
parent 8ae051cb39
commit 793ba6bd37
729 changed files with 5194 additions and 9971 deletions

View File

@@ -1,86 +1,86 @@
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt"
wn.module_page["Manufacturing"] = [
frappe.module_page["Manufacturing"] = [
{
title: wn._("Documents"),
title: frappe._("Documents"),
top: true,
icon: "icon-copy",
items: [
{
label: wn._("Bill of Materials"),
description: wn._("Bill of Materials (BOM)"),
label: frappe._("Bill of Materials"),
description: frappe._("Bill of Materials (BOM)"),
doctype:"BOM"
},
{
label: wn._("Production Order"),
description: wn._("Orders released for production."),
label: frappe._("Production Order"),
description: frappe._("Orders released for production."),
doctype:"Production Order"
},
]
},
{
title: wn._("Production Planning (MRP)"),
title: frappe._("Production Planning (MRP)"),
icon: "icon-wrench",
items: [
{
"route":"Form/Production Planning Tool/Production Planning Tool",
"label":wn._("Production Planning Tool"),
"description":wn._("Generate Material Requests (MRP) and Production Orders."),
"label":frappe._("Production Planning Tool"),
"description":frappe._("Generate Material Requests (MRP) and Production Orders."),
doctype: "Production Planning Tool"
},
]
},
{
title: wn._("Masters"),
title: frappe._("Masters"),
icon: "icon-book",
items: [
{
label: wn._("Item"),
description: wn._("All Products or Services."),
label: frappe._("Item"),
description: frappe._("All Products or Services."),
doctype:"Item"
},
{
label: wn._("Workstation"),
description: wn._("Where manufacturing operations are carried out."),
label: frappe._("Workstation"),
description: frappe._("Where manufacturing operations are carried out."),
doctype:"Workstation"
},
]
},
{
title: wn._("Utility"),
title: frappe._("Utility"),
icon: "icon-wrench",
items: [
{
"route":"Form/BOM Replace Tool/BOM Replace Tool",
"label":wn._("BOM Replace Tool"),
"description":wn._("Replace Item / BOM in all BOMs"),
"label":frappe._("BOM Replace Tool"),
"description":frappe._("Replace Item / BOM in all BOMs"),
doctype: "BOM Replace Tool"
},
]
},
{
title: wn._("Reports"),
title: frappe._("Reports"),
right: true,
icon: "icon-list",
items: [
{
"label":wn._("Open Production Orders"),
"label":frappe._("Open Production Orders"),
route: "query-report/Open Production Orders",
doctype:"Production Order"
},
{
"label":wn._("Production Orders in Progress"),
"label":frappe._("Production Orders in Progress"),
route: "query-report/Production Orders in Progress",
doctype:"Production Order"
},
{
"label":wn._("Issued Items Against Production Order"),
"label":frappe._("Issued Items Against Production Order"),
route: "query-report/Issued Items Against Production Order",
doctype:"Production Order"
},
{
"label":wn._("Completed Production Orders"),
"label":frappe._("Completed Production Orders"),
route: "query-report/Completed Production Orders",
doctype:"Production Order"
},
@@ -89,5 +89,5 @@ wn.module_page["Manufacturing"] = [
]
pscript['onload_manufacturing-home'] = function(wrapper) {
wn.views.moduleview.make(wrapper, "Manufacturing");
frappe.views.moduleview.make(wrapper, "Manufacturing");
}