Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
7 Odpovědi
10139 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
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 :)

Nejlepší odpověď

Hi,

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

Best regards,

Reinhard

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 25
4122
5
čvc 17
6072
0
úno 25
1185
4
srp 24
8539
1
pro 23
3450