10-30-2019, 01:38 PM
I have this in a gendoc template I use on an invoice:
Where 'MyModule' is a custom module that has is related to the invoice and the CobroPago (Payment) records are in turn related to 'MyModule'. For some reason I can show fields from 'MyModule' but not from the Payment (CobroPago) records. What am I doing wrong?
Code:
{foreach MyModule}
{foreach CobroPago}
{CobroPago.reference} € {CobroPago.amount}
{/foreach}
{/foreach}