Pass lines data to send_mail() and email template.
I have two models:
*payslip (one2many relation to payslip_lines)
I can use an email template and send with some data from payslip model, but ¿how can add them into same email as a table? I guess as context and loop in payslip_line mark in template like in qweb reports (?)
Here you have your current lines to pay: