Hey
I have created a record with the help of wizard . but I was expecting somehow to open the created record at the transition . so after the wizard I could see the newly created record form in new Tryton tab
Thanks in advance
Hey
I have created a record with the help of wizard . but I was expecting somehow to open the created record at the transition . so after the wizard I could see the newly created record form in new Tryton tab
Thanks in advance
You need to create a StateAction
pointing to the view and the def do_return_()
need to return action and data containing a dict with a list of the ids of the records.
Here you have a full example:
https://hg.tryton.org/modules/purchase/file/d035bd6549e8/purchase.py#l2046
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.