Skip to content

[FIX] mail_debrand#1

Open
AdriaGForgeFlow wants to merge 2 commits intoodoonz:12.0-depower-mailfrom
ForgeFlow:12.0-fix-mail_debrand
Open

[FIX] mail_debrand#1
AdriaGForgeFlow wants to merge 2 commits intoodoonz:12.0-depower-mailfrom
ForgeFlow:12.0-fix-mail_debrand

Conversation

@AdriaGForgeFlow
Copy link

@AdriaGForgeFlow AdriaGForgeFlow commented Jan 4, 2019

I tried the module and it didn't work for me, it did not remove the Odoo branding. After some research I came across this solution.

Hope it helps.

@gdgellatly
Copy link

@ageficent Are you sure? I tested this extensively, over many templates. Can you give me any steps to reproduce it not working.

@AdriaGForgeFlow
Copy link
Author

AdriaGForgeFlow commented Jan 8, 2019

In my case I followed the next steps to test the module:

  1. Install the module
  2. Configure outgoing mail server with my gmail account
  3. Send a message from the contact view (see result)
    image
  4. Send a quotation to my mail from the sales module (see result)
    image

In your code you introduce some changes in the render_post_process function which in my case is only called to create the widget that allows you to choose the template and change the mail body. This function is not called when the email is actually sent (and the template is applied) and thus, the branding is not removed.
I don't know if I have explained myself well, let me know if you have any question or if I have missed any configuration step or misunderstood something.

@gdgellatly
Copy link

gdgellatly commented Jan 8, 2019 via email

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants