moved delivered_items_to_be_billed from stock to accounts
This commit is contained in:
parent
bc54dadd44
commit
7d665818b5
@ -4,11 +4,11 @@
|
||||
"docstatus": 0,
|
||||
"creation": "2012-11-23 16:46:22",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-11-23 17:41:03"
|
||||
"modified": "2012-11-23 17:55:12"
|
||||
},
|
||||
{
|
||||
"name": "__common__",
|
||||
"ref_doctype": "Delivery Note",
|
||||
"ref_doctype": "Sales Invoice",
|
||||
"doctype": "Report",
|
||||
"is_standard": "Yes",
|
||||
"query": "select \n `tabDelivery Note`.`name` as \"Delivery Note:Link/Delivery Note:120\",\n `tabDelivery Note`.`status` as \"Status\",\n `tabDelivery Note`.`posting_date` as \"Date:Date\",\n `tabDelivery Note Item`.item_code as \"Item:Link/Item:120\",\n `tabDelivery Note Item`.description as \"Description\",\n `tabDelivery Note Item`.qty as \"Qty:Float\",\n `tabDelivery Note Item`.billed_qty as \"Billed Qty:Float\"\nfrom\n `tabDelivery Note`, `tabDelivery Note Item`\nwhere\n `tabDelivery Note Item`.`parent` = `tabDelivery Note`.`name`\n and `tabDelivery Note`.docstatus = 1\n and `tabDelivery Note Item`.billed_qty < `tabDelivery Note Item`.qty\norder by `tabDelivery Note`.posting_date asc"
|
@ -3,4 +3,4 @@ import webnotes
|
||||
def execute():
|
||||
webnotes.conn.sql("""delete from `tabSearch Criteria` where name='Delivery Note Itemwise Pending To Bill'""")
|
||||
from webnotes.modules import reload_doc
|
||||
reload_doc("stock", "report", "delivered_items_to_be_billed")
|
||||
reload_doc("accounts", "report", "delivered_items_to_be_billed")
|
Loading…
Reference in New Issue
Block a user