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

Hi folks, I had asked the same question in V6, and it didn't seem possible to achieve it due to Openerp's architecture. (forum.openerp.com/forum/topic28562.html)

Now with latest improvements to V7, I was wondering could we override the default Create button in form/tree to load a wizard (i.e. return an action), instead of returning an id ?

thanks for your time, Nicolas

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

As far as I know, there have been no changes in version 7 to make this kind of thing easier.

In the same way as the forum thread you posted, the way I would achieve this (without making significant changes to the OpenERP Web/Server source code) would be to have a single button in the form view for your object, and have that button's function return a wizard. See the below links:

Creating your wizard

Having a button return a wizard

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
What's the context? Đã xử lý
9
thg 3 24
119454
1
thg 10 24
69729
2
thg 12 23
26158
1
thg 4 24
9025
1
thg 10 21
9884