2013-08-05 09:29:54 +00:00
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
|
|
|
// License: GNU General Public License v3. See license.txt"
|
2013-01-09 11:09:27 +00:00
|
|
|
|
|
|
|
wn.module_page["Buying"] = [
|
|
|
|
{
|
|
|
|
title: wn._("Documents"),
|
2013-07-01 11:45:23 +00:00
|
|
|
top: true,
|
2013-01-09 11:09:27 +00:00
|
|
|
icon: "icon-copy",
|
|
|
|
items: [
|
2013-07-03 05:02:33 +00:00
|
|
|
{
|
|
|
|
label: wn._("Supplier"),
|
|
|
|
description: wn._("Supplier database."),
|
|
|
|
doctype:"Supplier"
|
|
|
|
},
|
2013-01-09 11:09:27 +00:00
|
|
|
{
|
2013-02-18 08:19:15 +00:00
|
|
|
label: wn._("Material Request"),
|
2013-01-09 11:09:27 +00:00
|
|
|
description: wn._("Request for purchase."),
|
2013-02-18 08:19:15 +00:00
|
|
|
doctype:"Material Request"
|
2013-01-09 11:09:27 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Supplier Quotation"),
|
2013-05-27 13:02:20 +00:00
|
|
|
description: wn._("Quotations received from Suppliers."),
|
2013-01-09 11:09:27 +00:00
|
|
|
doctype:"Supplier Quotation"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Purchase Order"),
|
|
|
|
description: wn._("Purchase Orders given to Suppliers."),
|
|
|
|
doctype:"Purchase Order"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Masters"),
|
|
|
|
icon: "icon-book",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: wn._("Contact"),
|
|
|
|
description: wn._("All Contacts."),
|
|
|
|
doctype:"Contact"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Address"),
|
|
|
|
description: wn._("All Addresses."),
|
|
|
|
doctype:"Address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Item"),
|
|
|
|
description: wn._("All Products or Services."),
|
|
|
|
doctype:"Item"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Setup"),
|
|
|
|
icon: "icon-cog",
|
|
|
|
items: [
|
2013-06-25 06:16:07 +00:00
|
|
|
{
|
|
|
|
"label": wn._("Buying Settings"),
|
|
|
|
"route": "Form/Buying Settings",
|
|
|
|
"doctype":"Buying Settings",
|
|
|
|
"description": "Settings for Buying Module"
|
|
|
|
},
|
2013-01-09 11:09:27 +00:00
|
|
|
{
|
|
|
|
"label": wn._("Purchase Taxes and Charges Master"),
|
|
|
|
"doctype":"Purchase Taxes and Charges Master",
|
|
|
|
"description": wn._("Tax Template for Purchase")
|
|
|
|
},
|
2013-07-19 16:48:27 +00:00
|
|
|
{
|
|
|
|
label: wn._("Price List"),
|
|
|
|
description: wn._("Mupltiple Item prices."),
|
|
|
|
doctype:"Price List"
|
|
|
|
},
|
2013-01-09 11:09:27 +00:00
|
|
|
{
|
|
|
|
"doctype":"Supplier Type",
|
|
|
|
"label": wn._("Supplier Type"),
|
|
|
|
"description": wn._("Supplier classification.")
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"route":"Sales Browser/Item Group",
|
|
|
|
"label":wn._("Item Group"),
|
|
|
|
"description": wn._("Tree of item classification"),
|
|
|
|
doctype:"Item Group"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Terms and Conditions"),
|
|
|
|
description: wn._("Template of terms or contract."),
|
|
|
|
doctype:"Terms and Conditions"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Tools"),
|
|
|
|
icon: "icon-wrench",
|
|
|
|
items: [
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Analytics"),
|
|
|
|
right: true,
|
|
|
|
icon: "icon-bar-chart",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
"label":wn._("Purchase Analytics"),
|
|
|
|
page: "purchase-analytics"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2013-05-03 09:38:12 +00:00
|
|
|
{
|
|
|
|
title: wn._("Reports"),
|
|
|
|
right: true,
|
|
|
|
icon: "icon-list",
|
|
|
|
items: [
|
|
|
|
{
|
2013-08-09 09:59:59 +00:00
|
|
|
"label":wn._("Requested Items To Be Ordered"),
|
|
|
|
route: "query-report/Requested Items To Be Ordered",
|
|
|
|
doctype: "Material Request"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label":wn._("Material Requests for which Supplier Quotations are not created"),
|
|
|
|
route: "query-report/Material Requests for which Supplier Quotations are not created",
|
|
|
|
doctype: "Material Request"
|
2013-05-03 09:38:12 +00:00
|
|
|
},
|
2013-05-06 06:54:27 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Purchase In Transit"),
|
|
|
|
route: "query-report/Purchase In Transit",
|
2013-07-25 10:35:02 +00:00
|
|
|
doctype: "Purchase Order"
|
2013-05-06 06:54:27 +00:00
|
|
|
},
|
2013-05-13 10:59:28 +00:00
|
|
|
{
|
2013-08-09 09:59:59 +00:00
|
|
|
"label":wn._("Item-wise Purchase History"),
|
|
|
|
route: "query-report/Item-wise Purchase History",
|
|
|
|
doctype: "Item"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label":wn._("Item-wise Last Purchase Rate"),
|
|
|
|
route: "query-report/Item-wise Last Purchase Rate",
|
|
|
|
doctype: "Item"
|
2013-05-13 10:59:28 +00:00
|
|
|
},
|
2013-06-14 09:33:45 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Purchase Order Trends"),
|
|
|
|
route: "query-report/Purchase Order Trends",
|
|
|
|
doctype: "Purchase Order"
|
|
|
|
},
|
2013-05-03 09:38:12 +00:00
|
|
|
]
|
|
|
|
}
|
2013-01-09 11:09:27 +00:00
|
|
|
]
|
2012-02-23 07:05:32 +00:00
|
|
|
|
2012-02-21 13:33:50 +00:00
|
|
|
pscript['onload_buying-home'] = function(wrapper) {
|
2013-01-09 11:09:27 +00:00
|
|
|
wn.views.moduleview.make(wrapper, "Buying");
|
|
|
|
}
|