Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
15786 Lượt xem

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

 

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

Just write in xml file like this :

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

Ảnh đại diện
Huỷ bỏ

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 !

Câu trả lời hay nhất

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

This is working in Odoo V12.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Any idea how to do this in version 15?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 22
4584
3
thg 3 16
4391
0
thg 2 16
4124
3
thg 11 21
12220
0
thg 8 21
2716