Skip to content

Instantly share code, notes, and snippets.

@marceloleiva
Created September 8, 2022 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marceloleiva/31a29cdd63d0fae504c4fc350e3d0312 to your computer and use it in GitHub Desktop.
Save marceloleiva/31a29cdd63d0fae504c4fc350e3d0312 to your computer and use it in GitHub Desktop.
Odoo 14 Invoice Template
<div style="margin:0px;padding: 0px;">
<p style="padding:0px;font-size: 13px;">
Estimado/a
% if object.partner_id.parent_id:
${object.partner_id.name} (${object.partner_id.parent_id.name})
% endif
<br><br>
Junto con saludarle y agradecer su preferencia, adjuntamos
% if object.name:
factura <strong>${object.name}</strong>
% else:
factura
% endif
% if object.invoice_origin:
(con referencia: ${object.invoice_origin})
% endif
por el monto de <strong>${format_amount(object.amount_total, object.currency_id)}</strong>
de ${object.company_id.name}.
<br><br>
No dude en contactarse con nosotros si tiene alguna pregunta.
% if object.invoice_user_id.signature:
${object.invoice_user_id.signature | safe}
% endif
</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment