RFQ - Send by Email ${(object.create_uid.email and '"%s" <%s>' % (object.create_uid.name, object.create_uid.email) or '')|safe} ${object.company_id.name} Order (Ref ${object.name or 'n/a' }) ${object.partner_id.id} RFQ_${(object.name or '').replace('/','_')} ${object.partner_id.lang} Dear % if object.partner_id.is_company and object.partner_id.child_ids: ${object.partner_id.child_ids[0].name} % else : ${object.partner_id.name} % endif ,

Here is, in attachment, a ${object.state in ('draft', 'sent') and 'request for quotation' or 'purchase order confirmation'} ${object.name} % if object.partner_ref: with reference: ${object.partner_ref} % endif % if object.origin: (RFQ origin: ${object.origin}) % endif amounting in ${format_amount(object.amount_total, object.currency_id)} from ${object.company_id.name}.

Do not hesitate to contact us, further you have any question.

Best regards,

% if object.user_id and object.user_id.signature: ${object.user_id.signature | safe} % endif

]]>
Purchase Order - Send by Email ${(object.create_uid.email and '"%s" <%s>' % (object.create_uid.name, object.create_uid.email) or '')|safe} ${object.company_id.name} Order (Ref ${object.name or 'n/a' }) ${object.partner_id.id} PO_${(object.name or '').replace('/','_')} ${object.partner_id.lang} Dear ${object.partner_id.name} % if object.partner_id.parent_id: (${object.partner_id.parent_id.name}) % endif ,

Please find in attachment a ${object.state in ('draft', 'sent') and 'request for quotation' or 'purchase order confirmation'} ${object.name} % if object.partner_ref: with reference: ${object.partner_ref} % endif % if object.origin: (RFQ origin: ${object.origin}) % endif amounting ${format_amount(object.amount_total, object.currency_id)} from ${object.company_id.name}.

You can reply to this email if you have any questions.

Thank you,

]]>
Purchase Order Notification Email ${object.subject} % set company = record and record.company_id or ctx.get('company')
${object.record_name} ${company.name}
${object.body | safe}
${company.name}
${company.phone or ''}
% if company.email: ${company.email}
% endif % if company.website: ${company.website} % endif
]]>