[REF] mail: rename notification methods and make them private
Purpose of this commit is to perform a light cleaning of the email notification process. It renames method by prefixing them by _notify in order to easily spot them. It also makes them private because they should not be called outside of other methods. Indeed those methods are technical and do not provide useful information to external people. Future commits will probably improve the notification process in order to clean it and try to reduce its query count. This commit perform the following renaming * message_get_email_values -> _notify_specific_email_values * message_get_recipient_values -> _notify_email_recipients * _message_notification_recipients -> _notify_classify_recipients * message_get_reply_to -> _notify_get_reply_to
Showing
- addons/crm/models/crm_lead.py 2 additions, 2 deletionsaddons/crm/models/crm_lead.py
- addons/hr_recruitment/models/hr_recruitment.py 2 additions, 2 deletionsaddons/hr_recruitment/models/hr_recruitment.py
- addons/mail/models/mail_channel.py 8 additions, 10 deletionsaddons/mail/models/mail_channel.py
- addons/mail/models/mail_message.py 6 additions, 6 deletionsaddons/mail/models/mail_message.py
- addons/mail/models/mail_thread.py 16 additions, 10 deletionsaddons/mail/models/mail_thread.py
- addons/mail/models/res_partner.py 8 additions, 8 deletionsaddons/mail/models/res_partner.py
- addons/mail/wizard/mail_compose_message.py 4 additions, 4 deletionsaddons/mail/wizard/mail_compose_message.py
- addons/project/models/project.py 8 additions, 10 deletionsaddons/project/models/project.py
- addons/website_mail_channel/models/mail_channel.py 9 additions, 13 deletionsaddons/website_mail_channel/models/mail_channel.py
Loading
Please register or sign in to comment