commit | 830b8baa9dadcbac9a49b92be5daf02bfafad387 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Wed Mar 21 15:56:22 2012 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Wed Mar 21 15:56:22 2012 +0530 |
tree | 32ce72741a455d1fd86c4bb704d7fbf14169f569 | |
parent | 5f0406129125ae538d88f98f4c3bbdc842b4e161 [diff] |
update bom no options in stock entry
diff --git a/erpnext/patches/jan_mar_2012/update_se_fld_options.py b/erpnext/patches/jan_mar_2012/update_se_fld_options.py new file mode 100644 index 0000000..8e25237 --- /dev/null +++ b/erpnext/patches/jan_mar_2012/update_se_fld_options.py
@@ -0,0 +1,3 @@ +def execute(): + import webnotes + webnotes.conn.sql("update `tabDocField` set options = 'Bill Of Materials' where fieldname = 'bom_no' and parent = 'Stock Entry'")