I want to report different template based on a selection field or other condition,such as:
if a selection field Type is set with the value type_1, then report type_1.odt
or if it's type_2, then report type_2.odt
I found that the qweb can use condition controll, but py3o seems quite difficult, and I found no clue.
Can anyone tell me how to figure it out?
Thank you & Regards.