User-defined reports for custom template extensions

I would like Tryton administrators to be able to create new reports without writing a line of code in a module.

Looking pool.py:181 I see that if a report has not been registered in the pool by any module, it will be registered once a user tries to execute it. So that should do the trick.

However, I’d like to use reports that use a different rendering engine (a different template extension). Usually I could use register_mixin but if I understand it correctly the initialization done at pool.py:181 will not honour register mixins.

Am I missing something? Is there a way to achieve my goal without monkey patching?

1 Like

Indeed the auto-registration could be improved to apply any mixin registered (and call __post_setup__ also).

Added:

https://bugs.tryton.org/issue9103