From 8b849fedfe3c1f094b9f7fc36ccaabebf85df61f Mon Sep 17 00:00:00 2001 From: nabinhait Date: Tue, 21 Jun 2011 15:09:55 +0530 Subject: [PATCH] no_copy for percentage fields in so, dn, po, pr --- patches/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index 66e08e9aa4..de77b2d374 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1146,4 +1146,4 @@ def execute(patch_no): reload_doc('accounts', 'search_criteria', 'itemwise_sales_register') reload_doc('accounts', 'search_criteria', 'itemwise_purchase_register') elif patch_no == 287: - sql("update `tabDocField` set no_copy = 1 where firlname in ('per_received', 'per_billed', 'per_delivered') and parent in ('Purchase Order', 'Purchase Receipt', 'Sales Order', 'Delivery Note')") + sql("update `tabDocField` set no_copy = 1 where fieldname in ('per_received', 'per_billed', 'per_delivered') and parent in ('Purchase Order', 'Purchase Receipt', 'Sales Order', 'Delivery Note')")