Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Remove _ from get_signature_footer function definition #176

Closed
wants to merge 1 commit into from

Conversation

diggy128
Copy link

@diggy128 diggy128 commented Jun 29, 2017

Fixes #160

Upstream function does not have underscore.

@yajo yajo added this to the 8.0 milestone Jun 30, 2017
@@ -9,7 +9,7 @@ class MailNotification(models.Model):
_inherit = "mail.notification"

@api.model
def _get_signature_footer(self, user_id, res_model=None, res_id=None,
def get_signature_footer(self, user_id, res_model=None, res_id=None,
user_signature=True):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this indentation:

mail_debrand/models/mail.py:13:31: E127 continuation line over-indented for visual indent

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to repair tests also

@StefanRijnhart
Copy link
Member

Came across the same problem and fixed it independently of this PR. It adapts the test as well. #209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants