Odoo Help

0

How do you fix field focus?

By
Michael G
on 5/23/16, 4:41 PM 671 views

Odoo v9.0c

If you go Purchases>Vendors>Create Button - Focus is not on the name field.

However...

If you go Purchases>Vendors>Click on a partner>Create Button - Focus is now on the Name field.

The same paths for Customers & Products where the focus is different.

default_focus="1" is set.

How do you get default_focus to work from Purchases>Vendors>Create path?

Thank You!

0
Isuru Jayathissa
On 10/23/16, 1:26 PM

use this:

$('div.ButtonClassName input').focus(); 

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

Question tools

1 follower(s)

Stats

Asked: 5/23/16, 4:41 PM
Seen: 671 times
Last updated: 10/23/16, 1:26 PM