← Back to team overview

openerp-india team mailing list archive

[Bug 1164465] Re: Superfluous href mailto: during translation of Email body

 

** Attachment added: "test.png"
   https://bugs.launchpad.net/openobject-addons/+bug/1164465/+attachment/3897369/+files/test.png

** Changed in: openobject-addons
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1164465

Title:
  Superfluous href mailto: during translation of Email body

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Initial email template body contains
        % if object.user_id:
           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@xxxxxxxxxxxx <wbr><wbr> ?subject=Facture%20

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1164465/+subscriptions