Payment Receipt: Send by email ${object.company_id.name} Payment Receipt (Ref ${object.name or 'n/a' }) ${object.partner_id.id}

Dear ${object.partner_id.name}

Thank you for your payment. Here is your payment receipt ${(object.name or '').replace('/','-')} amounting to ${format_amount(object.amount, object.currency_id)} from ${object.company_id.name}.

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

Best regards, % if user.signature:
${user.signature | safe} % endif

${(object.name or '').replace('/','-')} ${object.partner_id.lang}
Send receipt by email mail.compose.message form new { 'default_model': 'account.payment', 'mail_post_autofollow': True, 'default_composition_mode': 'comment', 'default_use_template': True, 'default_res_id': active_id, 'default_template_id': ref('account.mail_template_data_payment_receipt'), 'force_email': True, 'custom_layout': 'mail.mail_notification_light', } form Send receipts by email mail.compose.message form new { 'default_model': 'account.payment', 'mail_post_autofollow': True, 'default_composition_mode': 'mass_mail', 'default_use_template': True, 'default_res_id': active_id, 'default_template_id': ref('account.mail_template_data_payment_receipt'), 'force_email': True, 'custom_layout': 'mail.mail_notification_light', } list