From 89a9a2652463872c50d17c698f51890d622dc905 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 12 Oct 2011 12:41:00 +0530 Subject: [PATCH] page_break column allow_on_submit --- erpnext/patches/patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/patches/patch.py b/erpnext/patches/patch.py index 319b051c02..093a576f37 100644 --- a/erpnext/patches/patch.py +++ b/erpnext/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 385 +last_patch = 386 #------------------------------------------- @@ -457,3 +457,5 @@ def execute(patch_no): elif patch_no == 385: # Patch for adding packing related columns (packed by, checked by, shipping mark etc) reload_doc('stock','doctype','delivery_note') + elif patch_no == 386: + sql("update `tabDocField` set allow_on_submit = 1 where fieldname = 'page_break'")