Ir al contenido
Menú
Se marcó esta pregunta
7 Respuestas
10103 Vistas

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)?
Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Autor

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

you are welcome pls mark this answer as correct :)

Mejor respuesta

Hi,

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

Best regards,

Reinhard

Avatar
Descartar
Mejor respuesta

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?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 25
4103
5
jul 17
6031
0
feb 25
1158
4
ago 24
8505
1
dic 23
3425