Odoo Help

1

1
1 Answer
0
Avatar

Dipak Shah

--Dipak Shah--

5414
| 6 3 8
New Delhi, India
--Dipak Shah--


Dipak Shah
21/02/18 07.51

Hey Pawan,

Go with Selection widget But i would recommend  > You have to override 'web' module's .js function and just change the limit given there.

----------- for odoo version 11 (web/static/src/js/fields/relational_fields.js) ------- Code where you need to change the limit ,as you can see default limit =7

init: function () {

this._super.apply(this, arguments);

this.limit = 7;
}


-- for v8 its (web/static/src/js/view_form.js)

Thanks,

Dipak

2 Comments
SunArc Technologies, Pawan Kumar Sharma
21/02/18 08.24

Hello Dipak,

I want to open direct list view when selecting this Many2one field. Is it possible?

Dipak Shah
21/02/18 23.57

Did you mean Treeview (list) ? what i considered is just like selection list dropdown.

Ask a Question
Keep Informed
1 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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now