[fix] [minor] [website]

This commit is contained in:
Anand Doshi
2013-09-17 15:28:58 +05:30
parent 619ed5e949
commit 2840620070
7 changed files with 52 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ from webnotes.utils import add_days, cint, cstr, date_diff, flt, getdate, nowdat
get_first_day, get_last_day
from webnotes.utils.email_lib import sendmail
from webnotes.utils import comma_and
from webnotes.utils import comma_and, get_url
from webnotes.model.doc import make_autoname
from webnotes.model.bean import getlist
from webnotes.model.code import get_obj
@@ -919,7 +919,7 @@ def notify_errors(inv, owner):
Regards,
Administrator
""" % (inv, website.get_site_address(), inv)
""" % (inv, get_url(), inv)
subj = "[Urgent] Error while creating recurring invoice from %s" % inv
from webnotes.profile import get_system_managers