commit | 6dfd430a2fe51b6ad87834148188cac9dcb9058e | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Tue Feb 10 14:41:27 2015 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Tue Feb 10 14:41:27 2015 +0530 |
tree | b0e63c444339a242417a210ffec3b64ec5530a2a | |
parent | 2813f38c5a9fcb012b5d75c72f850ff99d850e69 [diff] [blame] |
Moved flags like ignore_mandatory, ignore_validate etc to doc.flags
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index 8ecbc8d..415a51a 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py
@@ -209,7 +209,7 @@ ch.docstatus = 1 # will work as update after submit - jv_obj.ignore_validate_update_after_submit = True + jv_obj.flags.ignore_validate_update_after_submit = True jv_obj.save() def remove_against_link_from_jv(ref_type, ref_no, against_field):