mirror of
https://github.com/frappe/erpnext.git
synced 2026-10-29 22:57:42 +00:00
fix(accounts): preserve cached bisect statement summaries
(cherry picked from commit f4c889b5fd)
This commit is contained in:
+2
-2
@@ -172,8 +172,8 @@ class BisectAccountingStatements(Document):
|
||||
|
||||
def fetch_summary_info_from_current_node(self):
|
||||
current_node = frappe.get_doc("Bisect Nodes", self.current_node)
|
||||
self.p_l_summary = current_node.balance_sheet_summary
|
||||
self.b_s_summary = current_node.profit_loss_summary
|
||||
self.p_l_summary = current_node.profit_loss_summary
|
||||
self.b_s_summary = current_node.balance_sheet_summary
|
||||
self.difference = abs(self.p_l_summary - self.b_s_summary)
|
||||
|
||||
def fetch_or_calculate(self):
|
||||
|
||||
Reference in New Issue
Block a user