Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
7 Odpowiedzi
10182 Widoki

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)?
Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
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 :)

Najlepsza odpowiedź

Hi,

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

Best regards,

Reinhard

Awatar
Odrzuć
Najlepsza odpowiedź

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 25
4160
5
lip 17
6092
0
lut 25
1230
4
sie 24
8598
1
gru 23
3490