brotherton-erpnext/manufacturing/page/manufacturing_home/manufacturing_home.js
2013-08-12 14:18:09 +05:30

93 lines
2.2 KiB
JavaScript

// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
// License: GNU General Public License v3. See license.txt"
wn.module_page["Manufacturing"] = [
{
title: wn._("Documents"),
top: true,
icon: "icon-copy",
items: [
{
label: wn._("Bill of Materials"),
description: wn._("Bill of Materials (BOM)"),
doctype:"BOM"
},
{
label: wn._("Production Order"),
description: wn._("Orders released for production."),
doctype:"Production Order"
},
]
},
{
title: wn._("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."),
doctype: "Production Planning Tool"
},
]
},
{
title: wn._("Masters"),
icon: "icon-book",
items: [
{
label: wn._("Item"),
description: wn._("All Products or Services."),
doctype:"Item"
},
{
label: wn._("Workstation"),
description: wn._("Where manufacturing operations are carried out."),
doctype:"Workstation"
},
]
},
{
title: wn._("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"),
doctype: "BOM Replace Tool"
},
]
},
{
title: wn._("Reports"),
right: true,
icon: "icon-list",
items: [
{
"label":wn._("Open Production Orders"),
route: "query-report/Open Production Orders",
doctype:"Production Order"
},
{
"label":wn._("Production Orders in Progress"),
route: "query-report/Production Orders in Progress",
doctype:"Production Order"
},
{
"label":wn._("Issued Items Against Production Order"),
route: "query-report/Issued Items Against Production Order",
doctype:"Production Order"
},
{
"label":wn._("Completed Production Orders"),
route: "query-report/Completed Production Orders",
doctype:"Production Order"
},
]
}
]
pscript['onload_manufacturing-home'] = function(wrapper) {
wn.views.moduleview.make(wrapper, "Manufacturing");
}