fixes in c-form
This commit is contained in:
parent
1b4f56c57f
commit
144ba186d3
@ -59,7 +59,7 @@ class DocType:
|
||||
|
||||
webnotes.conn.sql("""update `tabSales Invoice` set c_form_no = '', modified = %s
|
||||
where name not in (%s) and ifnull(c_form_no, '') = %s""" %
|
||||
('%s', ', '.join(['%s'*len(inv)]), '%s'),
|
||||
('%s', ', '.join(['%s']*len(inv)), '%s'),
|
||||
tuple([self.doc.modified] + inv + [self.doc.name]), debug=1)
|
||||
else:
|
||||
webnotes.msgprint("Please enter atleast 1 invoice in the table", raise_exception=1)
|
||||
|
Loading…
Reference in New Issue
Block a user