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

We are using the default templates to send quotations emails but the default template show the code, it not traduce to finally data.

Version 15 odoo online.


Imagine profil
Abandonează
Autor

Hola,

% set transaction = object.get_portal_last_transaction() Su pedido ${object.name} con importe ${format_amount(object.amount_total, object.currency_id)} % if object.state == 'sale' or (transaction and transaction.state in ('done', 'authorized')) : ha sido confirmado.
¡Gracias por su confianza! % elif transaction and transaction.state == 'pending' : está pendiente. Será confirmado cuando su pago sea recibido. % if object.reference: Su referencia de pago es ${object.reference}. % endif % endif

No dude en contactarnos si tiene alguna pregunta.

% if object.website_id:
Productos Cantidad % if object.user_id.has_group('account.group_show_line_subtotals_tax_excluded'): impuestos incluidos. % else impuestos no incluidos. % endif
% for line in object.order_line: % if not line.is_delivery and line.display_type in ['line_section', 'line_note']:
% if line.display_type == 'line_section': ${line.name} % elif line.display_type == 'line_note': ${line.name} % endif
% elif not line.is_delivery
Product image ${line.product_id.name} ${line.product_uom_qty} % if object.user_id.has_group('account.group_show_line_subtotals_tax_excluded'): ${format_amount(line.price_reduce_taxexcl, object.currency_id)} % else ${format_amount(line.price_reduce_taxinc, object.currency_id)} % endif
% endif % endfor
% if object.carrier_id:
Envío: ${format_amount(object.amount_delivery, object.currency_id)}
Subtotal: ${format_amount(object.amount_untaxed, object.currency_id)}% else:
SubTotal: ${format_amount(object.amount_untaxed, object.currency_id)}% endif
Impuestos: ${format_amount(object.amount_tax, object.currency_id)}
Total: ${format_amount(object.amount_total, object.currency_id)}% if object.partner_invoice_id:
Facturar a: ${object.partner_invoice_id.street or ''} ${object.partner_invoice_id.city or ''} ${object.partner_invoice_id.state_id.name or ''} ${object.partner_invoice_id.zip or ''} ${object.partner_invoice_id.country_id.name or ''}
Método de pago: % if transaction.payment_token_id: ${transaction.payment_token_id.name} % else: ${transaction.acquirer_id.name} % endif (${format_amount(transaction.amount, object.currency_id)})
% endif % if object.partner_shipping_id and not object.only_services:

Enviar a: ${object.partner_shipping_id.street or ''} ${object.partner_shipping_id.city or ''} ${object.partner_shipping_id.state_id.name or ''} ${object.partner_shipping_id.zip or ''} ${object.partner_shipping_id.country_id.name or ''}
% if object.carrier_id:
Forma de envío: ${object.carrier_id.name} % if object.carrier_id.fixed_price == 0.0: (Gratuito) % else: (${format_amount(object.carrier_id.fixed_price, object.currency_id)}) % endif
% endif
% endif % endif

Autor

the email looks like

Same problem. Odoo v15.

Autor Cel mai bun răspuns

I have created a ticket from odoo support and they sent me a new templates records

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 23
1589
0
mai 21
2435
2
mai 15
7345
2
ian. 25
1048
0
iun. 23
2271