conf migration

This commit is contained in:
Pratik Vyas
2013-09-21 15:16:47 +05:30
parent 7782e83d33
commit cfed8c44b4
8 changed files with 14 additions and 14 deletions

View File

@@ -90,7 +90,7 @@ class DocType():
webnotes.msgprint(_("""Please save the Newsletter before sending."""),
raise_exception=1)
import conf
from webnotes import conf
if getattr(conf, "status", None) == "Trial":
webnotes.msgprint(_("""Sending newsletters is not allowed for Trial users, \
to prevent abuse of this feature."""), raise_exception=1)