Below is my Setup for E-Mailing Invoices....
Dear ${object.partner_id.name} % set access_action = object.get_access_action() % set access_url = access_action['type'] == 'ir.actions.act_url' and access_action['url'] or '/report/pdf/account.report_invoice/' + str(object.id) % set is_online = access_action and access_action['type'] == 'ir.actions.act_url' % if object.partner_id.parent_id: (${object.partner_id.parent_id.name}) % endif ,
Here is your invoice ${object.number} % if object.origin: (with reference: ${object.origin} ) % endif amounting in ${object.residual} ${object.currency_id.name} from ${object.company_id.name}.
Please note that this invoice indicates that you either have your order in hand, or that your order has shipped.
% if is_online:
\\%\ endif\ \;\\ This\ invoice\ is\ already\ paid\.\\ \\%\ else\:\\\ Please\ remit\ payment\ at\ your\ earliest\ convenience\.\ You\ can\ now\ pay\ quickly\ and\ securely\ online\ using\ Paypal\.\\ \ Thank you, % if object.user_id and object.user_id.signature: ${object.user_id.signature | safe} % endif We are using Paypal for customer to pay with Credit Card if they would like, but don't like the Fees involved. Is there anyway for Authorize.net to do this? I haven't been able to figure it out.
\
\\%\ if\ object\.state\=\=\'paid\'\:\\\
\\
% endif