File downloader wizard


I’d like to create a wizard that provide a file users can download, something like in the export wizard.
I didn’t find it in the docs, how can I tell Tryton send a file to an user ?


You must use a Binary field (or binary widget on a Text field). And of course in your wizard, you must fill it.

But sometime, it is more user-friendly that the wizard launch a report action with the proper data to generate the file. This way if the report has a known extension the client can launch the proper program to open it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.