Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta
2013-07-22 15:59:48 +05:30
11 changed files with 137 additions and 82 deletions

View File

@@ -2,7 +2,7 @@
{
"creation": "2013-06-11 14:26:44",
"docstatus": 0,
"modified": "2013-07-11 16:53:18",
"modified": "2013-07-22 12:47:19",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -333,6 +333,21 @@
"options": "Sales Team",
"permlevel": 0
},
{
"doctype": "DocField",
"fieldname": "customer_discount_section",
"fieldtype": "Section Break",
"label": "Customer Discount",
"permlevel": 0
},
{
"doctype": "DocField",
"fieldname": "customer_discounts",
"fieldtype": "Table",
"label": "Customer Discounts",
"options": "Customer Discount",
"permlevel": 0
},
{
"amend": 0,
"cancel": 0,

View File

@@ -0,0 +1,8 @@
# For license information, please see license.txt
from __future__ import unicode_literals
import webnotes
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl

View File

@@ -0,0 +1,42 @@
[
{
"creation": "2013-07-22 12:43:40",
"docstatus": 0,
"modified": "2013-07-22 12:49:32",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"doctype": "DocType",
"istable": 1,
"module": "Selling",
"name": "__common__"
},
{
"doctype": "DocField",
"in_list_view": 1,
"name": "__common__",
"parent": "Customer Discount",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0,
"reqd": 1
},
{
"doctype": "DocType",
"name": "Customer Discount"
},
{
"doctype": "DocField",
"fieldname": "item_group",
"fieldtype": "Link",
"label": "Item Group",
"options": "Item Group"
},
{
"doctype": "DocField",
"fieldname": "discount",
"fieldtype": "Currency",
"label": "Discount (%)"
}
]