brotherton-erpnext/erpnext/patches/june_2012/barcode_in_feature_setup.py

7 lines
162 B
Python
Raw Normal View History

2012-06-07 19:09:17 +05:30
def execute():
import webnotes
from webnotes.model.code import get_obj
fs = get_obj('Features Setup')
fs.doc.fs_item_barcode = 0
fs.doc.save()
fs.validate()