Merge pull request #24995 from rohitwaghchaure/incorrect-field-for-company

fix: incorrect fieldname
This commit is contained in:
rohitwaghchaure 2021-03-24 16:45:41 +05:30 committed by GitHub
commit d7d7df2fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ def repost_entries():
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)