seitime-frappe/frappe/integrations
Andy Zhu 209393ecbd
Fix (S3-Backup-Setting): ensure recipients and sender are corre… (#9417)
* fix: sender is not set to current user

I am not sure if I did it right:
1. import frappe
2. check if the sender is None: using frappe.session.user to fetch email address for current user

* fix: update the correct field name for S3-backup-setting

The field variable name should be updated to 'notify_email' instead of 'notification_email'.

* style: remove a trailing whitespace

* fix: Assign notify_email instead of calling frappe.db.get_value twice

* chore: remove default sender and notify_email check

* default sender already gets set in queue.py, so there's no need for a
  check inside __init__.py

* notify_email seems to be a mandatory field, so there's no need to
  check if the field has a value (assuming that it always will).

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>

Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>
2020-02-08 14:36:05 +05:30
..
doctype Fix (S3-Backup-Setting): ensure recipients and sender are corre… (#9417) 2020-02-08 14:36:05 +05:30
__init__.py Moved Backup Manager and Social Login keys to the new Integrations Module, prepared frappe for Mandrill Integration 2015-08-11 12:03:13 +05:30
oauth2.py py3-ready encode returns bytes 2018-03-19 23:11:46 +05:30
oauth2_logins.py allow again fairlogin as ID provider 2020-01-13 09:35:12 +01:00
utils.py fix(translations): Incorrect syntax 2020-01-29 15:22:35 +05:30