Explorar el Código

[stock] [feature] added project to stock ledger entry and updated stock balance report

version-14
Rushabh Mehta hace 12 años
padre
commit
3b5fe403b1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      webnotes/widgets/report_dump.py

+ 2
- 2
webnotes/widgets/report_dump.py Ver fichero

@@ -51,8 +51,8 @@ def get_data(doctypes, last_modified):
if not args.get("conditions"): if not args.get("conditions"):
args['conditions'] = [] args['conditions'] = []
args['conditions'].append(modified_table + "modified > '" + last_modified[d] + "'") args['conditions'].append(modified_table + "modified > '" + last_modified[d] + "'")
out[dt]["modified_names"] = webnotes.conn.sql_list("""select name from %s
where modified > %s""" % (table, "%s"), last_modified[d])
out[dt]["modified_names"] = webnotes.conn.sql_list("""select %sname from %s
where %smodified > %s""" % (modified_table, table, modified_table, "%s"), last_modified[d])
if args.get("force_index"): if args.get("force_index"):
conditions = " force index (%s) " % args["force_index"] conditions = " force index (%s) " % args["force_index"]


Cargando…
Cancelar
Guardar