commit | 244f3eeedcbc5633d632883578875e59231f864c | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Wed Mar 24 16:42:22 2021 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Wed Mar 24 16:42:22 2021 +0530 |
tree | fc316b173c7117a33445e4be9baa658b656a83e9 | |
parent | 3c490088c455fdc2e679b5f18c0c84c6bf25379d [diff] |
fix: incorrect fieldname
diff --git a/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py b/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py index 559f9a5..a75db1a 100644 --- a/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py +++ b/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py
@@ -123,7 +123,7 @@ return for d in frappe.get_all('Company', filters= {'enable_perpetual_inventory': 1}): - check_if_stock_and_account_balance_synced(today(), d.company) + check_if_stock_and_account_balance_synced(today(), d.name) def get_repost_item_valuation_entries(): date = add_to_date(today(), hours=-12)