no_copy for percentage fields in so, dn, po, pr

This commit is contained in:
nabinhait 2011-06-21 15:09:55 +05:30
parent 58f01021b9
commit 8b849fedfe

View File

@ -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')")