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

Hello, I have a custom module with a tree view from a custom object.

I defined only a tree view for this class, and when user clicks on any row, I want to display a wizard window.

The tree displays correctly, but nothing happends when I click on a row.

I have tried:

<record id="action_view_save_recount" model="ir.values">
    <field name="key2">tree_but_act</field>
    <field name="model">productstock.recount</field>
    <field name="name">Save product recount</field>
    <field name="value" eval="'ir.actions.wizard,%d'%productstock_view_recount"/>
    <field name="object" eval="True" />            
</record>

the id for the wizard form is "productstock_view_recount"

But nothing happends when I click on any row of the view. Can anyone help me to achieve this??

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I have the same issue. Did you find any solution !!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
พ.ย. 24
13802
0
ม.ค. 23
2171
1
มิ.ย. 21
3861
2
ก.ค. 25
25958
3
เม.ย. 25
4793