[webshop] [addresses] address selector, my addresses list

This commit is contained in:
Anand Doshi
2013-07-02 11:40:16 +05:30
parent 169cfafe13
commit edbf3e1e19
18 changed files with 503 additions and 157 deletions

View File

@@ -121,8 +121,6 @@ class DocType(DocListController):
self.doc.posting_time = '00:00'
def on_doctype_update(self):
webnotes.msgprint(webnotes.conn.sql("""show index from `tabStock Ledger Entry`
where Key_name="posting_sort_index" """))
if not webnotes.conn.sql("""show index from `tabStock Ledger Entry`
where Key_name="posting_sort_index" """):
webnotes.conn.commit()