From 79c2865048ac939c27707f3145b4d18767eed4fb Mon Sep 17 00:00:00 2001 From: Ravi Dey Date: Wed, 29 Jun 2011 18:55:19 +0530 Subject: [PATCH] link:company fix --- patches/patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index c6f41c7d6c2..e26a31eefb3 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,6 +1,6 @@ # REMEMBER to update this # ======================== -last_patch = 304 +last_patch = 305 #------------------------------------------- @@ -1205,3 +1205,5 @@ def execute(patch_no): elif patch_no == 304: sql("delete from `tabDocField` where parent = 'company' and label = 'Trash Company' and fieldtype = 'button'") reload_doc('setup', 'doctype', 'company') + elif patch_no == 305: + sql("update `tabDocField` set options = 'link:Company' where options='link:Company' and fieldname='company' and fieldtype='Select'")