Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Why is extra signature added to invoice emails?

By
Bob Muller
on 4/26/13, 6:06 AM 2,390 views

We use the "Send via Email" button on the Invoice form to send the invoice to the customer. We have modified the email template for that purpose. The "Add user-signature" field on the template is unchecked, as we send every customer the same email. Also, the "Portal" modules have been uninstalled completely (although we did some testing with the modules before).

Now, for some reason which we were unable to determine every email gets attached two extra fields at the bottom. First the User-signature which is followed by the following line:

Send by <<companyname>> using OpenERP.

Where <<companyname>> is the actual name of our company. Both <<companyname>> and OpenERP are hyperlinks in HTML-formatted messages. We've been looking through the configuration as well as the source code to find where these parts are added to the email message, but haven't found it yet.

Questions:

  1. Why is the User-signature added alhough the corresponding flag is unchecked?
  2. Which business object is responsible for adding the User-signature (email_template, mail_mail, ir_mail_server)?
  3. Where does the Send by <<companyname>> line come from (source code, translations, database, configuration)?
1
IT Libertas
On 3/24/16, 1:23 PM

Use this module -https://apps.odoo.com/apps/modules/8.0/colors_customization/ - to solve this issue

1
Francisco Castro
On 1/29/15, 6:28 AM

You can change that siganture on mail_followers.py on the mail folder.

sent_by = _('Sent by %(company)s using %(odoo)s')

signature_company = '<br /><small>%s</small>' % (sent_by % {
            'company': company,
            'odoo': "<a style='color:inherit' href='https://www.odoo.com/'>Odoo</a>"
        })

use the command grep -R "th estring you want to find" on the addons folder or on the folder you want to search

this work!

Francisco Castro
on 1/29/15, 6:28 AM

Thanks that did the trick! For some reason I could not find it using fgrep, probably using the wrong criteria.

Bob Muller
on 1/29/15, 6:40 AM

you are welcome pls mark this answer as correct :)

Francisco Castro
on 1/29/15, 6:47 AM
0
Brent Shreve
On 1/20/15, 5:45 PM

Did you ever get to the bottom of this Bob? We're using v8.0 and are seeing the same behaviour on outbound emails:

Sent by <<company name>> using Odoo about Lead/Opportunity <<lead name>>

I read through https://www.odoo.com/forum/help-1/question/global-signature-on-emails-3359 for clues.  We don't have the portal module enabled so maybe this is hard-coded by default?

0

Hi,

check under Settings/Configuration/General Settings that the "Portal" is deactivated.

Best regards,

Reinhard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

4 follower(s)

Stats

Asked: 4/26/13, 6:06 AM
Seen: 2390 times
Last updated: 3/24/16, 1:23 PM