Odoo Help

1

Why is extra signature added to invoice emails?

By
Bob Muller
on 4/26/13, 6:06 AM 2,798 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

--IT Libertas--
773
| 4 3 7
Saint Petersburg, Russian Federation
--IT Libertas--

Visit us: itlibertas.com

IT Libertas is a team of developers and automation experts to help you to unlock Odoo ERP system's potential. We have been communicating with end users to whom the software became a main business tool since 2012. As a result, we are proud of dozens of successful implementations.

IT Libertas guarantees deadlines predictability and transparent pricing. We rely upon the best international practices and invest in local markets' study. That is why the company's services are in demand of European, Asian, American and African entrepreneurs.

We are open for cooperation and keep searching for new solutions to the end that IT Libertas clients go ahead of the curve, deal with less routine and generate more profit.

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

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)

Stats

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