Odoo Help

2

1
1 Answer
1
Avatar

Jérémy Kersten (jke)

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

6167
| 4 4 11
Jodoigne, بلجيكا
--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)
1‏/3‏/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 Comments
Yenthe Van Ginneken
2‏/3‏/2016 3: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
2‏/3‏/2016 3:41 ص

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

Jérémy Kersten (jke)
2‏/3‏/2016 1:02 م

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

Jérémy Kersten (jke)
2‏/3‏/2016 4:06 م

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

Yenthe Van Ginneken
4‏/3‏/2016 8: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 E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now