浏览代码

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

version-14
Rushabh Mehta 12 年前
父节点
当前提交
3b5fe403b1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      webnotes/widgets/report_dump.py

+ 2
- 2
webnotes/widgets/report_dump.py 查看文件

@@ -51,8 +51,8 @@ def get_data(doctypes, last_modified):
if not args.get("conditions"):
args['conditions'] = []
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"):
conditions = " force index (%s) " % args["force_index"]


正在加载...
取消
保存