[enhance] pay via cart

This commit is contained in:
Saurabh
2015-12-31 13:26:36 +05:30
parent c22e525a14
commit 276d3e60bd
5 changed files with 71 additions and 11 deletions

View File

@@ -247,7 +247,7 @@ def update_against_doc(d, jv_obj):
# will work as update after submit
jv_obj.flags.ignore_validate_update_after_submit = True
jv_obj.save()
jv_obj.save(ignore_permissions=True)
def remove_against_link_from_jv(ref_type, ref_no):
linked_jv = frappe.db.sql_list("""select parent from `tabJournal Entry Account`