[material request on re-order level] [fixes] if error occurs, send email to the System Manager

This commit is contained in:
Anand Doshi
2013-06-17 11:57:04 +05:30
parent 0865f60673
commit ad6180ef6d
4 changed files with 81 additions and 41 deletions

View File

@@ -53,7 +53,7 @@ def execute_daily():
# daily backup
from setup.doctype.backup_manager.backup_manager import take_backups_daily
take_backups_daily()
run_fn(take_backups_daily)
# check reorder level
from stock.utils import reorder_item
@@ -61,7 +61,7 @@ def execute_daily():
def execute_weekly():
from setup.doctype.backup_manager.backup_manager import take_backups_weekly
take_backups_weekly()
run_fn(take_backups_weekly)
def execute_monthly():
pass