mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -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,
|
||||
|
||||
0
selling/doctype/customer_discount/__init__.py
Normal file
0
selling/doctype/customer_discount/__init__.py
Normal file
8
selling/doctype/customer_discount/customer_discount.py
Normal file
8
selling/doctype/customer_discount/customer_discount.py
Normal 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
|
||||
42
selling/doctype/customer_discount/customer_discount.txt
Normal file
42
selling/doctype/customer_discount/customer_discount.txt
Normal 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 (%)"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user