% set lines = ctx['lines']
% set order = ctx['order']
% set supplier = user.env['res.partner'].browse(order['supplier_id'])
% set currency = user.env['res.currency'].browse(order['currency_id'])
Dear ${order['supplier_name']},
Here is, today orders for ${order['company_name']}:
| Product |
Comments |
Person |
Qty |
Price |
% for line in lines
| ${line['product']} |
% if line['toppings']:
${line['toppings']}
% endif
% if line['note']:
${line['note']}
% endif
|
${line['username']} |
${line['quantity']} |
${format_amount(line['price'], currency)} |
% endfor
|
|
|
Total |
${format_amount(order['amount_total'], currency)} |
Do not hesitate to contact us if you have any questions.