تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
7726 أدوات العرض

I've been attempting to remove the default email footer with limited success.

Rather than make modifications to the code directly, I found a quick tutorial from Ludwik Trammer:

http://stackoverflow.com/questions/26240062/how-to-remove-email-footer-in-odoo

After making his suggested modifications (and referencing https://github.com/Hansys/footer_remover ) I was able to successfully install a custom module that modified the footer text.  However, it changed from this:

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

to this:

about Lead/Opportunity <<lead name>>

Does anyone know how to modify the custom module code to remove the remainder of the footer text?

الصورة الرمزية
إهمال
أفضل إجابة

Add this:

class mail_mail(osv.Model):
    _inherit = 'mail.mail'

    def _get_partner_access_link(self, cr, uid, mail, partner=None, context=None):
        return None

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
13
مارس 19
44048
0
أغسطس 17
6514
0
مارس 15
3843
1
ديسمبر 23
3439
1
ديسمبر 23
2079