mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 18:21:22 +00:00
conf migration
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user