Update repost_item_valuation.py
This commit is contained in:
parent
af1376c1df
commit
fc44478810
@ -5,7 +5,7 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe, erpnext
|
||||
from frappe.model.document import Document
|
||||
from frappe.utils import cint, get_link_to_form, add_to_date, now
|
||||
from frappe.utils import cint, get_link_to_form, add_to_date, now, today
|
||||
from erpnext.stock.stock_ledger import repost_future_sle
|
||||
from erpnext.accounts.utils import update_gl_entries_after, check_if_stock_and_account_balance_synced
|
||||
from frappe.utils.user import get_users_with_role
|
||||
@ -132,4 +132,4 @@ def get_repost_item_valuation_entries():
|
||||
return frappe.db.sql(""" SELECT name from `tabRepost Item Valuation`
|
||||
WHERE status != 'Completed' and creation <= %s and docstatus = 1
|
||||
ORDER BY timestamp(posting_date, posting_time) asc, creation asc
|
||||
""", date, as_dict=1)
|
||||
""", date, as_dict=1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user