Merge branch 'edge' of github.com:webnotes/erpnext into webshop

Conflicts:
	controllers/buying_controller.py
This commit is contained in:
Anand Doshi
2013-05-21 19:40:09 +05:30
5 changed files with 68 additions and 15 deletions

View File

@@ -33,3 +33,6 @@ class DocType:
msgprint(_("""Please check "Valid For All Countries" or \
enter atlease one row in the "Countries" table."""), raise_exception=True)
def on_trash(self):
webnotes.conn.sql("""delete from `tabItem Price` where price_list_name = %s""",
self.doc.name)