mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
[minor] sales invoice to delivery note mapping and prevdoc validation
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", "allow_same_sales_rate"]:
|
||||
for key in ["cust_master_name", "customer_group", "territory", "maintain_same_sales_rate"]:
|
||||
webnotes.conn.set_default(key, self.doc.fields.get(key, ""))
|
||||
|
||||
Reference in New Issue
Block a user