Odoo Help

2

1
1 Answer
1
Avatar

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--

6297
| 4 4 11
Jodoigne, Belgio
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013.

He is now the Team Leader of the Website Team and support of our own website odoo.com.

Jérémy Kersten (jke)
01/03/16, 12:16

Best way according to me, you should do your search in ajax.

That will avoid re-rendering the form at each search, lost data and co...


Perso, I will use select2 to do it. 

You can take inspiration / a look in forum (tag field) code.

5 Comments
Yenthe Van Ginneken
02/03/16, 03:41

Thanks for your reply Jérémy! Good point about the Ajax and the reloading of forms etc. It is indeed better to not reload a page if it isn't needed. I've been giving your idea an attempt but I'm a bit stuck. I see that on the help forum everything is embedded in a form but I already have an open form so how should I handle that? The second thing is that my JS doesn't go off. Could you give me some pointers please? I've posted the needed files on Github for you to view: https://github.com/Yenthe666/Dev/tree/master/aa_cameo_ticketing

Yenthe Van Ginneken
02/03/16, 03:41

Also, I will convert all this knowledge in a new blogpost for the community. :-)

Jérémy Kersten (jke)
02/03/16, 13:02

Hey yenth, what is the state of this dev ? still need help or it's finish ?

Jérémy Kersten (jke)
02/03/16, 16:06

See https://github.com/Yenthe666/Dev/pull/11

Yenthe Van Ginneken
04/03/16, 08:18

This is a great answer, thanks a lot Jérémy! Upvoted & accepted.

Ask a Question
Keep Informed
2 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now