Odoo Aide

2

1
1 Réponse
1
Avatar

Jérémy Kersten (jke) Belgique

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

6307
| 4 4 11
Jodoigne, Belgique
--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) Belgique
01/03/2016 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 Commentaires
Yenthe Van Ginneken Belgique
02/03/2016 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 Belgique
02/03/2016 03:41

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

Jérémy Kersten (jke) Belgique
02/03/2016 13:02

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

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

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

Yenthe Van Ginneken Belgique
04/03/2016 08:18

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

Poser une question
Keep Informed
2 Abonné(e)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 E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now