Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2790 Vizualizări

Hi,

I tried to make some changes to the Invoice: send by email template, Originally I add date through place holder & tried to preview the template, it was not showing any thing so reverted the changes & then again tried to preview the template still it was not showing any thing. Even after reverting to original format it is not previewing any thing. I even tried to view/ render the email template by sending an invoice email it was showing blank.

There is also another template which is showing raw code when I tried to preview the template.

Tech Spec:

Version: odoo14

OS: Ubuntu 18

Web Server: Apache

===============================================================

The code is as below:

Subject: ${object.company_id.name} Invoice (Ref ${object.number or 'n/a'})

Dear ${object.partner_id.name} % if object.partner_id.parent_id: (${object.partner_id.parent_id.name}) % endif

Here is your % if object.number: invoice ${object.number} % else: invoice %endif % if object.origin: (with reference: ${object.origin}) % endif amounting in ${format_amount(object.amount_total, object.currency_id)} from ${object.company_id.name}. % if object.state=='paid': This invoice is already paid. % else: Please remit payment at your earliest convenience. % endif

Do not hesitate to contact us if you have any questions.


=======================================================================================






Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
apr. 24
1991
3
oct. 23
8259
1
sept. 21
3393
1
iun. 25
2425
2
ian. 25
1139