Technical mailing list archives

Re: How to get a new cursor on new api on Thread

Maxim Litnitskiy
- 09/24/2014 23:10:12
Hi all!
Thanks Jean-Sébastien.
I will post feedback on your adise a bit later.
Still exprerimenting.
I have a small question.
Is it correct at all to start a few threads on button click?
I have a button with type action which runs a model method.
So from this method I spawn 2 threads.
Is it ok at all?
Because now I am beating a strange situations.
My model hangs!
I can F5 and go other parts of Odoo (Messages, Sales, etc).
But when I try to  open my model OpenERP hangs.
Please advise!