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

I have a wizard (selection_assistant) with a one2many relationship to another transient model (slot).

I am showing the slot (one2many) as a list view inside the wizard (selection_assistant) and would like to create a selection button.

<button string="select" attrs="{'invisible': [('selected','=',True)]}" type="object" name="select_slot" title="select"/>

However when the wizard shows the button is disabled.

I am aware that list view buttons are disabled when a form is in edit mode and I believe this is related to my issue.

I expect that a wizard is never saved.

Anyone done something similar?

อวตาร
ละทิ้ง
ผู้เขียน

Ended up wrapping the action with a python method that created the wizard first (selection_assistant) and then opened the form.

Hi Mai,

Could you provide more information on how you have handled this? I'm interested in triggering a wizard from a list view button, but not sure what approach I should take.

Related Posts ตอบกลับ มุมมอง กิจกรรม
17
ธ.ค. 22
22203
0
เม.ย. 21
3508
1
มิ.ย. 24
442
1
พ.ย. 16
5985
1
ก.พ. 16
5059