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["Selling"] = [
|
|
|
|
{
|
2013-07-01 11:45:23 +00:00
|
|
|
top: true,
|
2013-01-09 11:09:27 +00:00
|
|
|
title: wn._("Documents"),
|
|
|
|
icon: "icon-copy",
|
|
|
|
items: [
|
2013-07-02 12:43:26 +00:00
|
|
|
{
|
|
|
|
label: wn._("Customer"),
|
|
|
|
description: wn._("Customer database."),
|
|
|
|
doctype:"Customer"
|
|
|
|
},
|
2013-01-09 11:09:27 +00:00
|
|
|
{
|
|
|
|
label: wn._("Lead"),
|
|
|
|
description: wn._("Database of potential customers."),
|
|
|
|
doctype:"Lead"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Opportunity"),
|
|
|
|
description: wn._("Potential opportunities for selling."),
|
|
|
|
doctype:"Opportunity"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Quotation"),
|
|
|
|
description: wn._("Quotes to Leads or Customers."),
|
|
|
|
doctype:"Quotation"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Sales Order"),
|
|
|
|
description: wn._("Confirmed orders from Customers."),
|
|
|
|
doctype:"Sales 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._("Selling Settings"),
|
|
|
|
"route": "Form/Selling Settings",
|
|
|
|
"doctype":"Selling Settings",
|
2013-09-26 21:18:22 +00:00
|
|
|
"description": wn.("Settings for Selling Module")
|
2013-06-25 06:16:07 +00:00
|
|
|
},
|
2013-09-10 12:59:39 +00:00
|
|
|
{
|
|
|
|
"route":"Form/Shopping Cart Settings",
|
|
|
|
"label":wn._("Shopping Cart Settings"),
|
|
|
|
"description":wn._("Setup of Shopping Cart."),
|
|
|
|
doctype:"Shopping Cart Settings"
|
|
|
|
},
|
2013-01-09 11:09:27 +00:00
|
|
|
{
|
|
|
|
label: wn._("Sales Taxes and Charges Master"),
|
|
|
|
description: wn._("Sales taxes template."),
|
|
|
|
doctype:"Sales Taxes and Charges Master"
|
|
|
|
},
|
2013-06-26 08:23:01 +00:00
|
|
|
{
|
|
|
|
label: wn._("Shipping Rules"),
|
|
|
|
description: wn._("Rules to calculate shipping amount for a sale"),
|
|
|
|
doctype:"Shipping Rule"
|
|
|
|
},
|
2013-01-09 11:09:27 +00:00
|
|
|
{
|
|
|
|
label: wn._("Price List"),
|
|
|
|
description: wn._("Mupltiple Item prices."),
|
|
|
|
doctype:"Price List"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Sales BOM"),
|
|
|
|
description: wn._("Bundle items at time of sale."),
|
|
|
|
doctype:"Sales BOM"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Terms and Conditions"),
|
|
|
|
description: wn._("Template of terms or contract."),
|
|
|
|
doctype:"Terms and Conditions"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Customer Group"),
|
|
|
|
description: wn._("Customer classification tree."),
|
|
|
|
route: "Sales Browser/Customer Group",
|
|
|
|
doctype:"Customer Group"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Territory"),
|
|
|
|
description: wn._("Sales territories."),
|
|
|
|
route: "Sales Browser/Territory",
|
|
|
|
doctype:"Territory"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"route":"Sales Browser/Sales Person",
|
|
|
|
"label":wn._("Sales Person"),
|
|
|
|
"description": wn._("Sales persons and targets"),
|
|
|
|
doctype:"Sales Person"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"route":"List/Sales Partner",
|
|
|
|
"label": wn._("Sales Partner"),
|
|
|
|
"description":wn._("Commission partners and targets"),
|
|
|
|
doctype:"Sales Partner"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"route":"Sales Browser/Item Group",
|
|
|
|
"label":wn._("Item Group"),
|
|
|
|
"description": wn._("Tree of item classification"),
|
|
|
|
doctype:"Item Group"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"route":"List/Campaign",
|
|
|
|
"label":wn._("Campaign"),
|
|
|
|
"description":wn._("Sales campaigns"),
|
|
|
|
doctype:"Campaign"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Tools"),
|
|
|
|
icon: "icon-wrench",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
"route":"Form/SMS Center/SMS Center",
|
|
|
|
"label":wn._("SMS Center"),
|
|
|
|
"description":wn._("Send mass SMS to your contacts"),
|
|
|
|
doctype:"SMS Center"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Analytics"),
|
|
|
|
right: true,
|
|
|
|
icon: "icon-bar-chart",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
"label":wn._("Sales Analytics"),
|
|
|
|
page: "sales-analytics"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Reports"),
|
|
|
|
right: true,
|
|
|
|
icon: "icon-list",
|
|
|
|
items: [
|
|
|
|
{
|
2013-01-11 10:43:41 +00:00
|
|
|
"label":wn._("Customer Addresses And Contacts"),
|
2013-07-25 10:35:02 +00:00
|
|
|
route: "query-report/Customer Addresses And Contacts",
|
|
|
|
doctype: "Contact"
|
2013-01-09 11:09:27 +00:00
|
|
|
},
|
|
|
|
{
|
2013-07-08 06:03:09 +00:00
|
|
|
"label":wn._("Ordered Items To Be Delivered"),
|
|
|
|
route: "query-report/Ordered Items To Be Delivered",
|
2013-07-25 10:35:02 +00:00
|
|
|
doctype: "Sales Order"
|
2013-01-09 11:09:27 +00:00
|
|
|
},
|
2013-05-03 08:54:24 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Sales Person-wise Transaction Summary"),
|
2013-07-25 10:35:02 +00:00
|
|
|
route: "query-report/Sales Person-wise Transaction Summary",
|
|
|
|
doctype: "Sales Order"
|
2013-05-03 08:54:24 +00:00
|
|
|
},
|
2013-05-03 09:20:12 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Item-wise Sales History"),
|
2013-07-25 10:35:02 +00:00
|
|
|
route: "query-report/Item-wise Sales History",
|
|
|
|
doctype: "Item"
|
2013-05-03 09:20:12 +00:00
|
|
|
},
|
2013-06-11 04:53:10 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Territory Target Variance (Item Group-Wise)"),
|
2013-07-25 10:35:02 +00:00
|
|
|
route: "query-report/Territory Target Variance Item Group-Wise",
|
|
|
|
doctype: "Territory"
|
2013-06-11 04:53:10 +00:00
|
|
|
},
|
2013-06-18 13:16:02 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Sales Person Target Variance (Item Group-Wise)"),
|
2013-07-25 10:35:02 +00:00
|
|
|
route: "query-report/Sales Person Target Variance Item Group-Wise",
|
|
|
|
doctype: "Sales Person",
|
2013-06-18 13:16:02 +00:00
|
|
|
},
|
2013-06-11 05:47:56 +00:00
|
|
|
{
|
2013-06-07 08:04:16 +00:00
|
|
|
"label":wn._("Customers Not Buying Since Long Time"),
|
|
|
|
route: "query-report/Customers Not Buying Since Long Time",
|
2013-06-06 14:01:14 +00:00
|
|
|
doctype: "Sales Order"
|
|
|
|
},
|
2013-06-07 12:35:16 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Quotation Trend"),
|
|
|
|
route: "query-report/Quotation Trends",
|
2013-06-14 09:33:45 +00:00
|
|
|
doctype: "Quotation"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label":wn._("Sales Order Trend"),
|
|
|
|
route: "query-report/Sales Order Trends",
|
2013-06-07 12:35:16 +00:00
|
|
|
doctype: "Sales Order"
|
|
|
|
},
|
2013-06-24 13:35:16 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Available Stock for Packing Items"),
|
|
|
|
route: "query-report/Available Stock for Packing Items",
|
2013-07-25 10:35:02 +00:00
|
|
|
doctype: "Item",
|
2013-06-25 05:38:19 +00:00
|
|
|
},
|
2013-06-21 10:55:28 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Pending SO Items For Purchase Request"),
|
2013-07-25 10:35:02 +00:00
|
|
|
route: "query-report/Pending SO Items For Purchase Request",
|
|
|
|
doctype: "Sales Order"
|
2013-06-21 10:55:28 +00:00
|
|
|
},
|
2013-01-09 11:09:27 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2012-02-23 07:05:32 +00:00
|
|
|
|
2012-02-20 13:00:52 +00:00
|
|
|
pscript['onload_selling-home'] = function(wrapper) {
|
2013-01-09 11:09:27 +00:00
|
|
|
wn.views.moduleview.make(wrapper, "Selling");
|
2012-02-20 13:00:52 +00:00
|
|
|
}
|