跳至內容
選單
此問題已被標幟
1 回覆
8431 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
9
3月 24
119378
1
10月 24
69655
2
12月 23
26080
1
4月 24
9005
1
10月 21
9836