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

I want to set one page(Tab) as default, when i open the screen 

<notebook>

<page1></page1>

<page2></page2>

</noteboook>

here i want to set the page2 as default

 

아바타
취소

I don't think you can. To achieve that. you probably need to make page2 the first one.

Is it sure that is impossible? It could be very useful if we have to select a default page that come from another module and already override another form view.

베스트 답변

Just write in xml file like this :

<page string="Description" autofocus="True"> or <page string="Description" autofocus="autofocus">

아바타
취소

Does not work in v8.

But does in v10 ;)

This works with version 10 and 9, but not previous versions.

This will work for odoo 9 and odoo 10...

Doesn't work with odoo V11 !

베스트 답변

<page string="Description" autofocus="autofocus"> 

This is working in Odoo V12.

아바타
취소
베스트 답변

Any idea how to do this in version 15?

아바타
취소
관련 게시물 답글 화면 활동
1
8월 22
4946
3
3월 16
4591
0
2월 16
4350
3
11월 21
12549
0
8월 21
2955