Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8467 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
What's the context? แก้ไขแล้ว
9
มี.ค. 24
119477
1
ต.ค. 24
69750
2
ธ.ค. 23
26176
Force wizard dimension แก้ไขแล้ว
1
เม.ย. 24
9030
How do I search by country_id in view? แก้ไขแล้ว
1
ต.ค. 21
9905