You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sagarvora
changed the title
fix: Notification Settings for Energy Point is making any difference
fix: Notification Settings for Energy Point is not making any difference
May 4, 2021
sagarvora
changed the title
fix: Notification Settings for Energy Point is not making any difference
Notification Settings for Energy Point is not making any difference
May 4, 2021
Description of the issue
User settings for not receiving energy point email does not make any difference
Context information (for bug reports)
Energy Point should be enabled
Output of
bench version
The same is affecting as per the code in develop branch
Steps to reproduce the issue
Observed result
Email still are sent even though the checkbox is removed
Expected result
Email should NOT be sent out if the user/admin has marked the user (it may even be Customer/Supplier) to not receive email for Energy Points
Stacktrace / full error message
Not applicable
Additional information
Problem is most probably due to the line
frappe/frappe/social/doctype/energy_point_log/energy_point_log.py
Line 309 in b51f13c
It is looking at frappe.session.user and not identifying the user who doesn't want to receive the logs, but just session user.
frappe/frappe/social/doctype/energy_point_log/energy_point_log.py
Line 325 in b51f13c
OS version / distribution,
Frappe
install method, etc.Ubuntu 18.0
Easy install
The text was updated successfully, but these errors were encountered: