Email Templates email.template form form,tree RFQ - Send by Email ${(object.validator.email or '')|safe} ${object.company_id.name|safe} Order (Ref ${object.name or 'n/a' }) ${object.partner_id.id} RFQ_${(object.name or '').replace('/','_')} ${object.partner_id.lang}

Hello ${object.partner_id.name},

Here is a ${object.state in ('draft', 'sent') and 'request for quotation' or 'purchase order confirmation'} from ${object.company_id.name}:

  REFERENCES
  RFQ number: ${object.name}
  RFQ date: ${format_tz(object.date_order, tz=user.tz, context={'lang':object.partner_id.lang})}
% if object.origin:   RFQ reference: ${object.origin}
% endif % if object.partner_ref:   Your reference: ${object.partner_ref}
% endif % if object.validator:   Your contact: ${object.validator.name} % endif


If you have any question, do not hesitate to contact us.

Thank you!



${object.company_id.name}

% if object.company_id.street: ${object.company_id.street}
% endif % if object.company_id.street2: ${object.company_id.street2}
% endif % if object.company_id.city or object.company_id.zip: ${object.company_id.zip} ${object.company_id.city}
% endif % if object.company_id.country_id: ${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}
% endif
% if object.company_id.phone:
Phone:  ${object.company_id.phone}
% endif % if object.company_id.website: %endif

]]>
Purchase Order - Send by Email ${object.validator.email or ''} ${object.company_id.name} Order (Ref ${object.name or 'n/a' }) ${object.partner_id.id} PO_${(object.name or '').replace('/','_')} ${object.partner_id.lang}

Hello ${object.partner_id.name},

Here is a ${object.state in ('draft', 'sent') and 'request for quotation' or 'purchase order confirmation'} from ${object.company_id.name}:

  REFERENCES
  Order number: ${object.name}
  Order total: ${object.amount_total} ${object.currency_id.name}
  Order date: ${format_tz(object.date_order, tz=user.tz, context={'lang':object.partner_id.lang})}
% if object.origin:   Order reference: ${object.origin}
% endif % if object.partner_ref:   Your reference: ${object.partner_ref}
% endif % if object.validator:   Your contact: ${object.validator.name} % endif


If you have any question, do not hesitate to contact us.

Thank you!



${object.company_id.name}

% if object.company_id.street: ${object.company_id.street}
% endif % if object.company_id.street2: ${object.company_id.street2}
% endif % if object.company_id.city or object.company_id.zip: ${object.company_id.zip} ${object.company_id.city}
% endif % if object.company_id.country_id: ${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}
% endif
% if object.company_id.phone:
Phone:  ${object.company_id.phone}
% endif % if object.company_id.website: %endif

]]>