Odoo Help

2

How do I remove "Access this document directly in OpenERP" from e-mails from OpenERP?

By
Rebecca
on 3/27/13, 11:32 AM 5,355 views

I do not want to use the public portal at all. Our clients will never have to connect to our ERP system. Besides, in order to access our ERP, you need a VPN connection to our network. Providing a link to a document is entirely pointless and mostly confusing.

I have uninstalled the portal module, and also tried several new email-templates from scratch but I can not get rid of the line: "Access this document directly in OpenERP" at the bottem of the e-mail.

Is there some kind of setting in the web client where I can choose to not include the link to the document, or how can I solve this situation?

I have tried editing the mail_mail.py file under C:\Program Files\OpenERP 7.0-20130315-002515\Server\server\openerp\addons\mail. On line 187 there is some text corresponding with the message. I have replaced the text string with "test", saved the file and updated the module 'Social Network' which I think is linked to the mail module. At least it's the only installed module with the category 'mail' I could find.

The changes are not visible, so I don't know whether I'm editing the right file; or updating the right module.

it is just added to the messages if message recipient has openerp account. Please test sending to an outsider email and see.

Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
on 8/26/14, 5:40 AM
2
Yuri A. Petrov
On 4/2/13, 9:57 AM

Swithching off "Settings->General Settings->Activate the customer portal" also remove link to portal from e-mail's.

Hey, the second worked for me...

Kris Krnacs
on 4/2/13, 12:31 PM

Without Portal i can not send E-Mails, Sales Order etc.

Metrolux Gmbh, Andreas Marpmann
on 7/15/13, 4:40 AM

"also remove link to portal from e-mail's" How do you do that? Edit py files as below or is there an easier way?

Daryl van Sittert
on 8/21/14, 4:49 AM
1

odoo.ma by IBS Group

--odoo.ma by IBS Group--
1312
| 4 5 8
Tétouan, Morocco
--odoo.ma by IBS Group--

For more informations about IBS, please visit our website at www.ibs-na.com.

For a specific questions, collaboration or help, please send us an email to support@ibs-na.com

odoo.ma by IBS Group
On 3/27/13, 6:52 PM

That text exists in both these files:

  • addons/mail/mail_mail.py
  • addons/portal/mail_mail.py

Edit both of them and make sure to restart your server for the change to take effect.

I find this comment telling on line 165 in mail_mail.py - # partner is a user, link to a related document (incentive to install portal).

mike
on 7/12/13, 11:01 AM

Not a good idea I would not have thought, as when you upgrade, you will lose your changes?

Dave Ellison
on 1/8/14, 6:50 AM

Thanks, it's works for me :D sample: #text = _("""

Access this document directly in OpenERP

""") % url text=''
Gustavo
on 4/12/16, 5:08 PM
0

IT Libertas

--IT Libertas--
813
| 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:27 PM

I guess, this module is of use to you - https://www.odoo.com/es_ES/forum/ayuda-1/question/global-signature-on-emails-3359

0
Michael Karrer
On 7/10/14, 4:22 PM

I guess you could simply write your own mdule and subclass the original mail.message or mail.mail class and override the method (attribute) like with any other modification of modules?

0

I concern about upgrading OpenERP sources. Any solution without editing core files?

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

3 follower(s)

Stats

Asked: 3/27/13, 11:32 AM
Seen: 5355 times
Last updated: 3/24/16, 1:27 PM