Invoice: Send by email ${(object.user_id.email_formatted or user.email_formatted) |safe} ${object.partner_id.id} ${object.company_id.name} Invoice (Ref ${object.number or 'n/a'})

Dear % if object.partner_id.parent_id: ${object.partner_id.name} (${object.partner_id.parent_id.name}), % else: ${object.partner_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 question.

Invoice_${(object.number or '').replace('/','_')}${object.state == 'draft' and '_draft' or ''} ${object.partner_id.lang}