Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
Looks correct to me. I suppose the relation MyModule > CobroPago is a normal get_related_list?
Joe
TSolucio
Posts: 855
Threads: 238
Joined: Nov 2015
Reputation:
96
No, in fact there are two custom 'get_related_...' functions I built to create custom related lists. I was afraid that would be the issue. How could I get around this?
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
that is probably the issue, depending on how you return the SQL probably.
first try using the direct document generation (accessing GenDoc module directly) with Debug active, to see if you can find some information about what it is doing on that foreach
Joe
TSolucio
Posts: 855
Threads: 238
Joined: Nov 2015
Reputation:
96
Is there some documentation on debugging gendoc templates? I'm not sure how to do it.
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
first, go to the module: index.php?module=evvtgendoc&action=index
that will take you to a direct generator where you pick the template, module, language and if you want to see debug information or not
then the fun is trying to understand what the outputmeans :-)
Joe
TSolucio
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
Very interesting
Thanks for sharing!
Joe
TSolucio