mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
added moduleview
This commit is contained in:
@@ -1,20 +1,65 @@
|
||||
// ERPNext - web based ERP (http://erpnext.com)
|
||||
// Copyright (C) 2012 Web Notes Technologies Pvt Ltd
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// ERPNext: Copyright 2013 Web Notes Technologies Pvt Ltd
|
||||
// GNU General Public License. See "license.txt"
|
||||
|
||||
wn.module_page["Manufacturing"] = [
|
||||
{
|
||||
title: wn._("Documents"),
|
||||
icon: "icon-copy",
|
||||
items: [
|
||||
{
|
||||
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 Purchase Requests (MRP) and Production Orders."),
|
||||
doctype: "Production Planning Tool"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Masters"),
|
||||
icon: "icon-book",
|
||||
items: [
|
||||
{
|
||||
label: wn._("Bill of Materials"),
|
||||
description: wn._("Bill of Materials (BOM)"),
|
||||
doctype:"BOM"
|
||||
},
|
||||
{
|
||||
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"
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
|
||||
pscript['onload_manufacturing-home'] = function(wrapper) {
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Manufacturing');
|
||||
erpnext.module_page.setup_page('Manufacturing', wrapper);
|
||||
wn.views.moduleview.make(wrapper, "Manufacturing");
|
||||
}
|
||||
Reference in New Issue
Block a user