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

This commit is contained in:
Anand Doshi
2012-12-27 15:36:30 +05:30
10 changed files with 14 additions and 253 deletions

View File

@@ -78,13 +78,6 @@ class DocType(TransactionBase):
def get_tc_details(self):
return get_obj('Sales Common').get_tc_details(self)
def pull_project_customer(self):
res = sql("select customer from `tabProject` where name = '%s'" % self.doc.project_name)
if res and res[0][0]:
get_obj('DocType Mapper', 'Project-Delivery Note').dt_map('Project', 'Delivery Note', self.doc.project_name, self.doc, self.doclist, "[['Project', 'Delivery Note']]")
def get_item_details(self, args=None):
import json
args = args and json.loads(args) or {}