Odoo Help

Welcome!

This community 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.

0

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

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

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

by
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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