Skip to Content
Menu
This question has been flagged
5 Replies
4136 Views

Hello professionals... 
I have a problem with the sales module..... when sending the price offer via e-mail



Avatar
Discard
Best Answer

I have a problem in my translation where this symbol " ' " was in some places as " ´ ". Replaced all and my templates started to work again. Thanks for the hint!

Avatar
Discard
Best Answer

Hi I just had same error and found solution for this. Spend hours to figure it out and what was wrong. I'm using odoo 16 so the solution is for that, i guess it will work on other versions as well. At least it gives some hint to where to look at it.


You should go to email templates open that template -> settings and in field report name and open tranlation in right and you should find an extra bracket without closing bracket in that field. Just remove that extra bracket and it should work.



Avatar
Discard
Best Answer

I just wanted to express my gratitude for the time I spent reading your post.

Avatar
Discard
Best Answer

Hello, i have the same error. Did you solve this?
br
Mike

Avatar
Discard
Best Answer

Hello Ahmed,

This issue arises, when something is wrong in the template. My suggestion would be to check the code parts of the different translations and see if the code or some part of it has been translated. 

Without the screenshot of the email template, it is hard to pinpoint the exact problem 

Avatar
Discard
Author

Thank you very much.... for your interest and reply.

Is that what you mean

Author

<div style="margin: 0px; padding: 0px;">
<p style="font-weight:700;color:rgba(0, 0, 0, 0.4);box-sizing:border-box;margin: 0px; padding: 0px; font-size: 13px;">
<t t-set="doc_name" t-value="'quotation' if object.state in ('draft', 'sent') else 'order'" data-oe-t-inline="true"></t>
Hello,
<br><br>
Your
<t t-if="ctx.get('proforma')" data-oe-t-group-active="true">
Pro forma invoice for <t t-out="doc_name or ''" data-oe-t-inline="true">quotation</t> <strong t-out="object.name or ''" style="box-sizing:border-box;font-weight:bolder;">S00052</strong>
<t t-if="object.origin" data-oe-t-group-active="true">
(with reference: <t t-out="object.origin or ''" data-oe-t-inline="true"></t> )
</t>
amounting in <strong t-out="format_amount(object.amount_total, object.pricelist_id.currency_id) or ''" style="box-sizing:border-box;font-weight:bolder;">$ 10.00</strong> is available.
</t>
<t t-else="">
<t t-out="doc_name or ''" data-oe-t-inline="true">quotation</t> <strong t-out="object.name or ''" style="box-sizing:border-box;font-weight:bolder;"></strong>
<t t-if="object.origin" data-oe-t-group-active="true">
(with reference: <t t-out="object.origin or ''" data-oe-t-inline="true">S00052</t> )
</t>
amounting in <strong t-out="format_amount(object.amount_total, object.pricelist_id.currency_id) or ''" style="box-sizing:border-box;font-weight:bolder;">$ 10.00</strong> is ready for review.
</t>
<br><br>
Do not hesitate to contact us if you have any questions.
<br>
</p>
</div>