mirror of
https://gitee.com/yuzelin/erpnext_china.git
synced 2026-03-02 05:14:04 +08:00
fix cash flow save error
This commit is contained in:
@@ -7,7 +7,7 @@ import frappe
|
|||||||
|
|
||||||
patches_loaded = False
|
patches_loaded = False
|
||||||
|
|
||||||
__version__ = '1.0.3'
|
__version__ = '1.0.4'
|
||||||
|
|
||||||
|
|
||||||
def load_monkey_patches():
|
def load_monkey_patches():
|
||||||
|
|||||||
@@ -92,7 +92,8 @@ class CashFlow(Document):
|
|||||||
'from_date': from_date,
|
'from_date': from_date,
|
||||||
'to_date': to_date
|
'to_date': to_date
|
||||||
})
|
})
|
||||||
opening_balances = get_rootwise_opening_balances(filters, "Balance Sheet")
|
# ignore_is_opening 会计设置默认勾选,可提升取数性能
|
||||||
|
opening_balances = get_rootwise_opening_balances(filters, "Balance Sheet", 1)
|
||||||
#filters.from_date = year_start_date
|
#filters.from_date = year_start_date
|
||||||
#yearly_opening_balances = get_rootwise_opening_balances(filters, "Balance Sheet")
|
#yearly_opening_balances = get_rootwise_opening_balances(filters, "Balance Sheet")
|
||||||
cash_accounts = frappe.get_all("Account",
|
cash_accounts = frappe.get_all("Account",
|
||||||
|
|||||||
Reference in New Issue
Block a user