From dcc4ff5ca3426d64bba2b17b1add57ed4eb2ba2a Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 28 Nov 2012 14:12:49 +0530 Subject: [PATCH] patch: update % delievered and % billed in SO if pos made against that so --- .../november_2012/update_delivered_billed_percentage_for_pos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/november_2012/update_delivered_billed_percentage_for_pos.py b/patches/november_2012/update_delivered_billed_percentage_for_pos.py index 3e9adf416a..502a36a748 100644 --- a/patches/november_2012/update_delivered_billed_percentage_for_pos.py +++ b/patches/november_2012/update_delivered_billed_percentage_for_pos.py @@ -4,7 +4,7 @@ def execute(): sc_obj = get_obj("Sales Common") - si = webnotes.conn.sql("""select si.name + si = webnotes.conn.sql("""select distinct si.name from `tabSales Invoice` si, `tabSales Invoice Item` si_item where si_item.parent = si.name and si.docstatus = 1