mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 05:29:18 +00:00
merged with slow branch
This commit is contained in:
@@ -8,5 +8,5 @@ class DocType:
|
||||
self.doc, self.doclist = d, dl
|
||||
|
||||
def validate(self):
|
||||
for key in ["cust_master_name", "customer_group", "territory"]:
|
||||
for key in ["cust_master_name", "customer_group", "territory", "allow_same_sales_rate"]:
|
||||
webnotes.conn.set_default(key, self.doc.fields.get(key, ""))
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-06-25 10:25:16",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-07-05 14:54:47",
|
||||
"modified": "2013-07-18 12:03:39",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@@ -88,6 +88,12 @@
|
||||
"label": "Delivery Note Required",
|
||||
"options": "No\nYes"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "maintain_same_sales_rate",
|
||||
"fieldtype": "Check",
|
||||
"label": "Maintain Same Rate Throughout Sales Cycle"
|
||||
},
|
||||
{
|
||||
"doctype": "DocPerm"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user