Added Pricing Rule to Accounts, Buying, Selling home
diff --git a/erpnext/accounts/doctype/pricing_rule/pricing_rule.txt b/erpnext/accounts/doctype/pricing_rule/pricing_rule.txt
index d0925a2..413405c 100644
--- a/erpnext/accounts/doctype/pricing_rule/pricing_rule.txt
+++ b/erpnext/accounts/doctype/pricing_rule/pricing_rule.txt
@@ -2,7 +2,7 @@
{
"creation": "2014-02-21 15:02:51",
"docstatus": 0,
- "modified": "2014-02-28 14:49:15",
+ "modified": "2014-03-05 18:23:34",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -10,6 +10,7 @@
"autoname": "PRULE.#####",
"doctype": "DocType",
"document_type": "Master",
+ "icon": "icon-gift",
"istable": 0,
"module": "Accounts",
"name": "__common__"
diff --git a/erpnext/config/accounts.py b/erpnext/config/accounts.py
index 7ae67fa..2a47c2a 100644
--- a/erpnext/config/accounts.py
+++ b/erpnext/config/accounts.py
@@ -103,11 +103,16 @@
},
{
"type": "doctype",
- "name": "Shipping Rules",
+ "name": "Shipping Rule",
"description": _("Rules for adding shipping costs.")
},
{
"type": "doctype",
+ "name": "Pricing Rule",
+ "description": _("Rules for applying pricing and discount.")
+ },
+ {
+ "type": "doctype",
"name": "Currency",
"description": _("Enable / disable currencies.")
},
diff --git a/erpnext/config/buying.py b/erpnext/config/buying.py
index 41f689f..0c8c2f6 100644
--- a/erpnext/config/buying.py
+++ b/erpnext/config/buying.py
@@ -87,6 +87,11 @@
"description": _("Multiple Item prices."),
"route": "Report/Item Price"
},
+ {
+ "type": "doctype",
+ "name": "Pricing Rule",
+ "description": _("Rules for applying pricing and discount.")
+ },
]
},
{
diff --git a/erpnext/config/selling.py b/erpnext/config/selling.py
index 2646167..65cec9e 100644
--- a/erpnext/config/selling.py
+++ b/erpnext/config/selling.py
@@ -121,7 +121,7 @@
},
{
"type": "doctype",
- "name": "Shipping Rules",
+ "name": "Shipping Rule",
"description": _("Rules for adding shipping costs.")
},
{
@@ -137,6 +137,11 @@
},
{
"type": "doctype",
+ "name": "Pricing Rule",
+ "description": _("Rules for applying pricing and discount.")
+ },
+ {
+ "type": "doctype",
"name": "Sales BOM",
"description": _("Bundle items at time of sale."),
},