[Reports] [Customers Not Buying Sinse Long Time] and [Itemwise Recommended Reorder level]

This commit is contained in:
Saurabh
2013-06-07 13:34:16 +05:30
parent 1efc8b3734
commit 5b1e899250
10 changed files with 34 additions and 15 deletions

View File

@@ -206,8 +206,8 @@ wn.module_page["Stock"] = [
route: "query-report/Requested Items To Be Transferred",
},
{
"label":wn._("Item Reorder Level"),
route: "query-report/Item Reorder Level",
"label":wn._("Itemwise Recommended Reorder Level"),
route: "query-report/Itemwise Recommended Reorder Level",
doctype: "Item"
},
]

View File

@@ -1,4 +1,4 @@
wn.query_reports["Item Reorder Level"] = {
wn.query_reports["Itemwise Recommended Reorder Level"] = {
"filters": [
{
"fieldname":"from_date",

View File

@@ -61,7 +61,7 @@ def get_item_info():
def get_consumed_items(condition):
cn_items = webnotes.conn.sql("""select se_item.item_code,
sum(se_item.actual_qty) as 'consume_qty'
sum(se_item.actual_qty) as 'consume_qty'
from `tabStock Entry` se, `tabStock Entry Detail` se_item
where se.name = se_item.parent and se.docstatus = 1
and ifnull(se_item.t_warehouse, '') = '' %s

View File

@@ -1,8 +1,8 @@
[
{
"creation": "2013-06-05 15:34:51",
"creation": "2013-06-07 12:47:22",
"docstatus": 0,
"modified": "2013-06-05 15:50:30",
"modified": "2013-06-07 13:03:54",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -11,11 +11,11 @@
"is_standard": "Yes",
"name": "__common__",
"ref_doctype": "Item",
"report_name": "Item Reorder Level",
"report_name": "Itemwise Recommended Reorder Level",
"report_type": "Script Report"
},
{
"doctype": "Report",
"name": "Item Reorder Level"
"name": "Itemwise Recommended Reorder Level"
}
]