mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 06:28:29 +00:00
[production] update planned and produced ty
This commit is contained in:
@@ -393,13 +393,4 @@ def notify_errors(exceptions_list):
|
||||
Administrator""" % ("\n\n".join(["\n".join(msg) for msg in exceptions_list]),)
|
||||
|
||||
from webnotes.profile import get_system_managers
|
||||
sendmail(get_system_managers(), subject=subject, msg=msg)
|
||||
|
||||
|
||||
def repost():
|
||||
"""
|
||||
Repost everything!
|
||||
"""
|
||||
from webnotes.model.code import get_obj
|
||||
for wh in webnotes.conn.sql("select name from tabWarehouse"):
|
||||
get_obj('Warehouse', wh[0]).repost_stock()
|
||||
sendmail(get_system_managers(), subject=subject, msg=msg)
|
||||
Reference in New Issue
Block a user