Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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.


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






Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 24
1934
3
paź 23
8177
1
wrz 21
3351
1
cze 25
2402
2
sty 25
1112