366 lines
24 KiB
XML
366 lines
24 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2026 Nexa Systems Inc.
|
|
License OPL-1 (Odoo Proprietary License v1.0)
|
|
|
|
Mail templates use the Fusion-Claims accent-bar design:
|
|
- 4 px accent bar in status colour (info / success / attention / urgent)
|
|
- 600 px max-width, centred, Segoe UI stack
|
|
- Theme-safe: opacity + rgba grey, no fixed backgrounds
|
|
-->
|
|
<odoo noupdate="1">
|
|
|
|
<!-- ============================================================= -->
|
|
<!-- 1. Quote Sent (Info, #2B6CB0) -->
|
|
<!-- ============================================================= -->
|
|
<record id="fp_mail_template_quote_sent" model="mail.template">
|
|
<field name="name">FP: Quotation Sent</field>
|
|
<field name="model_id" ref="sale.model_sale_order"/>
|
|
<field name="subject">Quotation {{ object.name }} — EN Technologies</field>
|
|
<field name="email_from">{{ (object.company_id.email or user.email) }}</field>
|
|
<field name="email_to">{{ object.partner_id.email }}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
<field name="body_html" type="html">
|
|
<div style="font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; max-width: 600px; margin: 0 auto; padding: 32px 24px;">
|
|
<div style="height: 4px; background-color: #2B6CB0; margin-bottom: 28px;"></div>
|
|
<div style="font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #2B6CB0; font-weight: 600; margin-bottom: 8px;">
|
|
EN Technologies
|
|
</div>
|
|
<h2 style="margin: 0 0 8px 0; font-size: 22px; font-weight: bold;">Quotation Ready</h2>
|
|
<p style="margin: 0 0 20px 0; font-size: 15px; opacity: 0.65;">
|
|
Hi <t t-out="object.partner_id.name or ''"/>, your quotation is attached for review.
|
|
</p>
|
|
<table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
|
|
<tr style="border-bottom: 2px solid rgba(128,128,128,0.35);">
|
|
<th style="text-align: left; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Detail</th>
|
|
<th style="text-align: right; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Value</th>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Quote Reference</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.name"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;">Valid Until</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="object.validity_date or 'On request'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;"><strong>Total</strong></td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><strong><t t-out="object.currency_id.symbol or ''"/><t t-out="'{:,.2f}'.format(object.amount_total)"/></strong></td>
|
|
</tr>
|
|
</table>
|
|
<div style="border-left: 3px solid #2B6CB0; padding: 12px 16px; margin: 20px 0; font-size: 14px;">
|
|
<strong>Next steps:</strong> Reply with a PO number or signed copy to accept. Once we receive your parts, we'll confirm receipt and begin production.
|
|
</div>
|
|
<div style="margin-top: 32px; font-size: 14px;">
|
|
Best regards,<br/>
|
|
<strong><t t-out="user.name or ''"/></strong><br/>
|
|
EN Technologies Inc.
|
|
</div>
|
|
<div style="margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(128,128,128,0.25); font-size: 11px; opacity: 0.5; text-align: center;">
|
|
This is an automated notification from EN Technologies production system.
|
|
</div>
|
|
</div>
|
|
</field>
|
|
<field name="report_template_ids"
|
|
eval="[(6, 0, [ref('fusion_plating_reports.action_report_fp_sale_portrait')])]"/>
|
|
<field name="report_name">Quotation_{{ (object.name or '').replace('/','_') }}</field>
|
|
</record>
|
|
|
|
<!-- ============================================================= -->
|
|
<!-- 2. Sales Order Confirmed (Success, #38a169) -->
|
|
<!-- ============================================================= -->
|
|
<record id="fp_mail_template_so_confirmed" model="mail.template">
|
|
<field name="name">FP: Order Confirmation</field>
|
|
<field name="model_id" ref="sale.model_sale_order"/>
|
|
<field name="subject">Order Confirmed — {{ object.name }}</field>
|
|
<field name="email_from">{{ (object.company_id.email or user.email) }}</field>
|
|
<field name="email_to">{{ object.partner_id.email }}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
<field name="body_html" type="html">
|
|
<div style="font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; max-width: 600px; margin: 0 auto; padding: 32px 24px;">
|
|
<div style="height: 4px; background-color: #38a169; margin-bottom: 28px;"></div>
|
|
<div style="font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #38a169; font-weight: 600; margin-bottom: 8px;">
|
|
EN Technologies
|
|
</div>
|
|
<h2 style="margin: 0 0 8px 0; font-size: 22px; font-weight: bold;">Order Confirmed</h2>
|
|
<p style="margin: 0 0 20px 0; font-size: 15px; opacity: 0.65;">
|
|
Thank you, <t t-out="object.partner_id.name or ''"/>. We have your order and will notify you the moment your parts arrive at our facility.
|
|
</p>
|
|
<table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
|
|
<tr style="border-bottom: 2px solid rgba(128,128,128,0.35);">
|
|
<th style="text-align: left; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Order</th>
|
|
<th style="text-align: right; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Detail</th>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Reference</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.name"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;">Customer PO</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="object.x_fc_po_number or '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Order Date</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="format_datetime(object.date_order, tz=(user.tz or object.company_id.x_fc_default_tz or 'UTC'), dt_format='MMM d, y') if object.date_order else '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;"><strong>Total</strong></td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><strong><t t-out="object.currency_id.symbol or ''"/><t t-out="'{:,.2f}'.format(object.amount_total)"/></strong></td>
|
|
</tr>
|
|
</table>
|
|
<div style="border-left: 3px solid #38a169; padding: 12px 16px; margin: 20px 0; font-size: 14px;">
|
|
<strong>What's next:</strong> Ship your parts to our facility. We'll inspect on arrival, run the process, and keep you posted at each milestone.
|
|
</div>
|
|
<div style="margin-top: 32px; font-size: 14px;">
|
|
Best regards,<br/>
|
|
<strong><t t-out="user.name or ''"/></strong><br/>
|
|
EN Technologies Inc.
|
|
</div>
|
|
<div style="margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(128,128,128,0.25); font-size: 11px; opacity: 0.5; text-align: center;">
|
|
This is an automated notification from EN Technologies production system.
|
|
</div>
|
|
</div>
|
|
</field>
|
|
<field name="report_template_ids"
|
|
eval="[(6, 0, [ref('fusion_plating_reports.action_report_fp_sale_portrait')])]"/>
|
|
<field name="report_name">SalesOrder_{{ (object.name or '').replace('/','_') }}</field>
|
|
</record>
|
|
|
|
<!-- ============================================================= -->
|
|
<!-- 3. Parts Received (Info, #2B6CB0) -->
|
|
<!-- ============================================================= -->
|
|
<record id="fp_mail_template_parts_received" model="mail.template">
|
|
<field name="name">FP: Parts Received</field>
|
|
<field name="model_id" ref="fusion_plating_receiving.model_fp_receiving"/>
|
|
<field name="subject">Parts Received — {{ object.sale_order_id.name or object.name }}</field>
|
|
<field name="email_from">{{ (object.sale_order_id.company_id.email or user.email) }}</field>
|
|
<field name="email_to">{{ object.partner_id.email }}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
<field name="body_html" type="html">
|
|
<div style="font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; max-width: 600px; margin: 0 auto; padding: 32px 24px;">
|
|
<div style="height: 4px; background-color: #2B6CB0; margin-bottom: 28px;"></div>
|
|
<div style="font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #2B6CB0; font-weight: 600; margin-bottom: 8px;">
|
|
EN Technologies
|
|
</div>
|
|
<h2 style="margin: 0 0 8px 0; font-size: 22px; font-weight: bold;">Parts Received</h2>
|
|
<p style="margin: 0 0 20px 0; font-size: 15px; opacity: 0.65;">
|
|
Good news, <t t-out="object.partner_id.name or ''"/>. Your parts have arrived at our facility and passed incoming inspection.
|
|
</p>
|
|
<table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
|
|
<tr style="border-bottom: 2px solid rgba(128,128,128,0.35);">
|
|
<th style="text-align: left; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Detail</th>
|
|
<th style="text-align: right; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Value</th>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Sale Order</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.sale_order_id.name or '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;">Receiving Reference</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.name"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Qty Received</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="object.received_qty"/></td>
|
|
</tr>
|
|
</table>
|
|
<div style="border-left: 3px solid #2B6CB0; padding: 12px 16px; margin: 20px 0; font-size: 14px;">
|
|
<strong>Next step:</strong> Your job has entered our production queue. Expect a manufacturing-complete email once the job is through processing.
|
|
</div>
|
|
<div style="margin-top: 32px; font-size: 14px;">
|
|
Best regards,<br/>
|
|
<strong><t t-out="user.name or ''"/></strong><br/>
|
|
EN Technologies Inc.
|
|
</div>
|
|
<div style="margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(128,128,128,0.25); font-size: 11px; opacity: 0.5; text-align: center;">
|
|
This is an automated notification from EN Technologies production system.
|
|
</div>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Phase 5 (Sub 11) — fp_mail_template_mo_complete removed.
|
|
The native equivalent fires from fp.job.button_mark_done via
|
|
fp.notification.template's `job_complete` trigger, defined
|
|
in fp_notification_template_data.xml. -->
|
|
|
|
<!-- ============================================================= -->
|
|
<!-- 5. Shipped / Delivered (Success, #38a169) -->
|
|
<!-- ============================================================= -->
|
|
<record id="fp_mail_template_shipped" model="mail.template">
|
|
<field name="name">FP: Shipped / Delivered</field>
|
|
<field name="model_id" ref="fusion_plating_logistics.model_fusion_plating_delivery"/>
|
|
<field name="subject">Shipped — {{ object.job_ref or object.name }}</field>
|
|
<field name="email_from">{{ (object.company_id.email or user.email) }}</field>
|
|
<field name="email_to">{{ object.partner_id.email }}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
<field name="body_html" type="html">
|
|
<div style="font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; max-width: 600px; margin: 0 auto; padding: 32px 24px;">
|
|
<div style="height: 4px; background-color: #38a169; margin-bottom: 28px;"></div>
|
|
<div style="font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #38a169; font-weight: 600; margin-bottom: 8px;">
|
|
EN Technologies
|
|
</div>
|
|
<h2 style="margin: 0 0 8px 0; font-size: 22px; font-weight: bold;">Your Parts Have Shipped</h2>
|
|
<p style="margin: 0 0 20px 0; font-size: 15px; opacity: 0.65;">
|
|
Hi <t t-out="object.partner_id.name or ''"/>, your order has left our facility. Certificate of Conformance and Bill of Lading are attached for your records.
|
|
</p>
|
|
<table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
|
|
<tr style="border-bottom: 2px solid rgba(128,128,128,0.35);">
|
|
<th style="text-align: left; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Shipment</th>
|
|
<th style="text-align: right; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Detail</th>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Delivery Ref</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.name"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;">Job Reference</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.job_ref or '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Delivered</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="format_datetime(object.delivered_at, tz=(user.tz or object.company_id.x_fc_default_tz or 'UTC'), dt_format='MMM d, y HH:mm') if object.delivered_at else '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;">Driver</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="object.assigned_driver_id.name or '—'"/></td>
|
|
</tr>
|
|
</table>
|
|
<div style="border-left: 3px solid #38a169; padding: 12px 16px; margin: 20px 0; font-size: 14px;">
|
|
<strong>Next:</strong> Your invoice will follow shortly. Please inspect your parts on receipt and contact us with any questions.
|
|
</div>
|
|
<div style="margin-top: 32px; font-size: 14px;">
|
|
Best regards,<br/>
|
|
<strong><t t-out="user.name or ''"/></strong><br/>
|
|
EN Technologies Inc.
|
|
</div>
|
|
<div style="margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(128,128,128,0.25); font-size: 11px; opacity: 0.5; text-align: center;">
|
|
This is an automated notification from EN Technologies production system.
|
|
</div>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- ============================================================= -->
|
|
<!-- 6. Invoice Posted (Info, #2B6CB0) -->
|
|
<!-- ============================================================= -->
|
|
<record id="fp_mail_template_invoice_posted" model="mail.template">
|
|
<field name="name">FP: Invoice Notification</field>
|
|
<field name="model_id" ref="account.model_account_move"/>
|
|
<field name="subject">Invoice {{ object.name }} — EN Technologies</field>
|
|
<field name="email_from">{{ (object.company_id.email or user.email) }}</field>
|
|
<field name="email_to">{{ object.partner_id.email }}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
<field name="body_html" type="html">
|
|
<div style="font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; max-width: 600px; margin: 0 auto; padding: 32px 24px;">
|
|
<div style="height: 4px; background-color: #2B6CB0; margin-bottom: 28px;"></div>
|
|
<div style="font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #2B6CB0; font-weight: 600; margin-bottom: 8px;">
|
|
EN Technologies
|
|
</div>
|
|
<h2 style="margin: 0 0 8px 0; font-size: 22px; font-weight: bold;">Invoice Ready</h2>
|
|
<p style="margin: 0 0 20px 0; font-size: 15px; opacity: 0.65;">
|
|
Hi <t t-out="object.partner_id.name or ''"/>, please find invoice <t t-out="object.name"/> attached.
|
|
</p>
|
|
<table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
|
|
<tr style="border-bottom: 2px solid rgba(128,128,128,0.35);">
|
|
<th style="text-align: left; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Invoice</th>
|
|
<th style="text-align: right; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Detail</th>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Invoice Number</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.name"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;">Source Order</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.invoice_origin or '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Invoice Date</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="format_date(object.invoice_date, date_format='MMM d, y') if object.invoice_date else '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;">Due Date</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="format_date(object.invoice_date_due, date_format='MMM d, y') if object.invoice_date_due else '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;"><strong>Amount Due</strong></td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><strong><t t-out="object.currency_id.symbol or ''"/><t t-out="'{:,.2f}'.format(object.amount_residual or object.amount_total)"/></strong></td>
|
|
</tr>
|
|
</table>
|
|
<div style="border-left: 3px solid #2B6CB0; padding: 12px 16px; margin: 20px 0; font-size: 14px;">
|
|
<strong>Payment:</strong> Please remit by the due date. Reference invoice number <t t-out="object.name"/> on your payment.
|
|
</div>
|
|
<div style="margin-top: 32px; font-size: 14px;">
|
|
Best regards,<br/>
|
|
<strong><t t-out="user.name or ''"/></strong><br/>
|
|
EN Technologies Inc.
|
|
</div>
|
|
<div style="margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(128,128,128,0.25); font-size: 11px; opacity: 0.5; text-align: center;">
|
|
This is an automated notification from EN Technologies production system.
|
|
</div>
|
|
</div>
|
|
</field>
|
|
<field name="report_template_ids"
|
|
eval="[(6, 0, [ref('fusion_plating_reports.action_report_fp_invoice_portrait')])]"/>
|
|
<field name="report_name">Invoice_{{ (object.name or '').replace('/','_') }}</field>
|
|
</record>
|
|
|
|
<!-- ============================================================= -->
|
|
<!-- 7. Payment Received (Success, #38a169) -->
|
|
<!-- ============================================================= -->
|
|
<record id="fp_mail_template_payment_received" model="mail.template">
|
|
<field name="name">FP: Payment Received</field>
|
|
<field name="model_id" ref="account.model_account_payment"/>
|
|
<field name="subject">Payment Received — {{ object.name }}</field>
|
|
<field name="email_from">{{ (object.company_id.email or user.email) }}</field>
|
|
<field name="email_to">{{ object.partner_id.email }}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
<field name="body_html" type="html">
|
|
<div style="font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; max-width: 600px; margin: 0 auto; padding: 32px 24px;">
|
|
<div style="height: 4px; background-color: #38a169; margin-bottom: 28px;"></div>
|
|
<div style="font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #38a169; font-weight: 600; margin-bottom: 8px;">
|
|
EN Technologies
|
|
</div>
|
|
<h2 style="margin: 0 0 8px 0; font-size: 22px; font-weight: bold;">Payment Received — Thank You</h2>
|
|
<p style="margin: 0 0 20px 0; font-size: 15px; opacity: 0.65;">
|
|
Hi <t t-out="object.partner_id.name or ''"/>, we've received your payment. Your receipt is attached.
|
|
</p>
|
|
<table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
|
|
<tr style="border-bottom: 2px solid rgba(128,128,128,0.35);">
|
|
<th style="text-align: left; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Payment</th>
|
|
<th style="text-align: right; padding: 8px 4px; font-size: 12px; text-transform: uppercase; opacity: 0.55; font-weight: 600;">Detail</th>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Receipt Number</td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><t t-out="object.name"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;">Payment Method</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="object.payment_method_line_id.name or '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25);">
|
|
<td style="padding: 8px 4px;">Payment Date</td>
|
|
<td style="padding: 8px 4px; text-align: right;"><t t-out="format_date(object.date, date_format='MMM d, y') if object.date else '—'"/></td>
|
|
</tr>
|
|
<tr style="border-bottom: 1px solid rgba(128,128,128,0.25); background: rgba(128,128,128,0.06);">
|
|
<td style="padding: 8px 4px;"><strong>Amount</strong></td>
|
|
<td style="padding: 8px 4px; text-align: right; font-family: monospace;"><strong><t t-out="object.currency_id.symbol or ''"/><t t-out="'{:,.2f}'.format(object.amount)"/></strong></td>
|
|
</tr>
|
|
</table>
|
|
<div style="border-left: 3px solid #38a169; padding: 12px 16px; margin: 20px 0; font-size: 14px;">
|
|
Your account balance has been updated. We appreciate your business.
|
|
</div>
|
|
<div style="margin-top: 32px; font-size: 14px;">
|
|
Best regards,<br/>
|
|
<strong><t t-out="user.name or ''"/></strong><br/>
|
|
EN Technologies Inc.
|
|
</div>
|
|
<div style="margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(128,128,128,0.25); font-size: 11px; opacity: 0.5; text-align: center;">
|
|
This is an automated notification from EN Technologies production system.
|
|
</div>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|