Odoo Help

2

1
1 答案
1
头像

Jérémy Kersten (jke) 比利时

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

6307
| 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) 比利时
2016/3/1 下午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 注释
Yenthe Van Ginneken 比利时
2016/3/2 上午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 比利时
2016/3/2 上午3:41

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

Jérémy Kersten (jke) 比利时
2016/3/2 下午1:02

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

Jérémy Kersten (jke) 比利时
2016/3/2 下午4:06

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

Yenthe Van Ginneken 比利时
2016/3/4 上午8:18

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

提问
Keep Informed
2 关注者(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