Hello,
I've create 3 models. The first one ('First model') has some fields and to one2many fields. For each one2many fields I have a different model (Second model and third model).
In my mail template based on second model, I want to access to data from third model. How can I do that ?
example :
first model is a training actions.
Second model lists the persons who have subscribe to the training actions.
The third model lists the date of training actions.
I want to send a mail to each person with some personal information presen in the second model and I want to list in this mail the different dates of training action.