콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6557 화면

Hello All,

I have a Many2one field and when we selecting "Search More.." then list view open for this field. Is this possible to open direct list view for this Many2one field instead of choosing "Search More.."?

Thanks in advance.

아바타
취소
베스트 답변

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

아바타
취소
작성자

Hello Dipak,

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

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

관련 게시물 답글 화면 활동
2
8월 22
11644
2
5월 21
8543
2
3월 24
11957
5
9월 20
6264
1
12월 19
9671