mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
committed by
mergify-bot
parent
46e492d594
commit
6b8b2946c1
@@ -448,6 +448,8 @@ def book_revenue_via_journal_entry(doc, credit_account, debit_account, against,
|
|||||||
|
|
||||||
if submit:
|
if submit:
|
||||||
journal_entry.submit()
|
journal_entry.submit()
|
||||||
|
|
||||||
|
frappe.db.commit()
|
||||||
except Exception:
|
except Exception:
|
||||||
frappe.db.rollback()
|
frappe.db.rollback()
|
||||||
traceback = frappe.get_traceback()
|
traceback = frappe.get_traceback()
|
||||||
|
|||||||
Reference in New Issue
Block a user