Odoo Help


superfluous href mailto: during translation of Email body [Closed]

Christian Douville
on 4/4/13, 7:59 AM 1,806 views

The Question has been closed for reason: off-topic or not relevant

Nicolas Bessi
on 04/04/2013 10:03:51

Is there a bug during the email body translation on href="mailto: ? Initial email template body contains

% if object.user_id:
       &nbsp;&nbsp;Your contact: <a href="mailto:${object.user_id.email or ''}?subject=Order%20${object.name}">${object.user_id.name}</a>
       % endif

French translation contains

  % if object.user_id:
   &nbsp;&nbsp;Votre contact:<a href="mailto:${object.user_id.email or ''}?subject=Order%20${object.name}">${object.user_id.name}</a>
   % endif

Preview looks fine. While launching the function, at a first glance, the layout is fine and the mailto is as expected, but then, clicking on Send is transforming the syntax again and the result is a superfluous mailto inserted into the body like   Your contact: <a href="mailto: dest@mydomain.com <wbr><wbr> ?subject=Facture%20

Camptocamp SA
on 4/4/13, 10:03 AM

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.


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

0 follower(s)


Asked: 4/4/13, 7:59 AM
Seen: 1806 times
Last updated: 3/16/15, 8:10 AM