mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
feat: Stock value and account balance sync. (#19233)
* feat: Allow user to sync stock_value and account_balance jv if perpetual inventory is checked * fix(test): Sales Invoice * fix(test): Purchase Invoice * fix(test): Delivery Note * fix: more test_case * fix(test): Stock Entry * fix(test): Purchase Receipt * fix(more-test): Stock Entries * fix(more-test): Sales Invoice and Delivery Note * fix: tests for delivery note * fix: tests for stock reconciliation * refactor: stock and account balance function * fix(more-test): Warehouse * fix(test): Landed Cost Voucher * fix: changes requested
This commit is contained in:
committed by
Nabin Hait
parent
7e9b90ad06
commit
a11e738801
@@ -21,7 +21,7 @@ def get_warehouse_account_map(company=None):
|
||||
filters['company'] = company
|
||||
|
||||
for d in frappe.get_all('Warehouse',
|
||||
fields = ["name", "account", "parent_warehouse", "company"],
|
||||
fields = ["name", "account", "parent_warehouse", "company", "is_group"],
|
||||
filters = filters,
|
||||
order_by="lft, rgt"):
|
||||
if not d.account:
|
||||
|
||||
Reference in New Issue
Block a user