fix(auto_email_report): max_reports_per_user (#6628)
Option to modify the value for max_reports_per_user via the site_config.json
This commit is contained in:
parent
be52744453
commit
b7bac9cd49
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ from frappe.utils import now, global_date_format, format_time
|
|||
from frappe.utils.xlsxutils import make_xlsx
|
||||
from frappe.utils.csvutils import to_csv
|
||||
|
||||
max_reports_per_user = 3
|
||||
max_reports_per_user = frappe.local.conf.max_reports_per_user or 3
|
||||
|
||||
class AutoEmailReport(Document):
|
||||
def autoname(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue