brotherton-erpnext/patches/june_2012/barcode_in_feature_setup.py

8 lines
202 B
Python
Raw Normal View History

from __future__ import unicode_literals
2012-06-07 13:39:17 +00:00
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()