Moved flags like ignore_mandatory, ignore_validate etc to doc.flags

This commit is contained in:
Anand Doshi
2015-02-10 14:41:27 +05:30
parent 2813f38c5a
commit 6dfd430a2f
29 changed files with 54 additions and 53 deletions

View File

@@ -20,7 +20,7 @@ def after_install():
def feature_setup():
"""save global defaults and features setup"""
doc = frappe.get_doc("Features Setup", "Features Setup")
doc.ignore_permissions = True
doc.flags.ignore_permissions = True
# store value as 1 for all these fields
flds = ['fs_item_serial_nos', 'fs_item_batch_nos', 'fs_brands', 'fs_item_barcode',