Odoo Help


How to direct a Cursor to a specific field when user opens and edits a form of picking list e.g.? Odoo 8

Dovydas Bagdonas, UK
on 10/30/15, 7:56 AM 2,471 views

Hello Forum,

How to direct a Cursor to a specific field when user opens and edits a form of picking list e.g.??

The employees need to open a picking list and press edit it, then they type the number of packaged delivered. But when they start typing using the keyboard, the cursor is situated in first field (partner field) and I would like cursor situated directly in a specific field. Is it possible to do it? I mean to change the location of curson when you open and edit a form. Thank you.



| 6 5 7
Lodz, Poland

On 10/30/15, 10:22 AM

You need to change the view definition and add an attribute default_focus: set to 1 to put the focus (cursor position) on this field when the form is first opened. There can only be one field within a view having this attribute set to 1.


<field name="name" default_focus=”1”/>

Thanks a lot Odoo Master :)

Theradome, Dovydas Bagdonas, UK
on 10/30/15, 11:14 AM

@Zbik I would like to add default_focus inside the field in tree editable="bottom". But it not working, How to apply default_focus in tree editable="bottom"? Thanks

on 10/11/16, 6:39 AM

I have try this code for wizard char field but it is not working for me, Can you please give me solution for this?

on 1/3/18, 5:53 AM

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.


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)


Asked: 10/30/15, 7:56 AM
Seen: 2471 times
Last updated: 12/27/17, 2:17 AM