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

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

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

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 11 24
13837
0
thg 1 23
2176
1
thg 6 21
3881
2
thg 7 25
25973
3
thg 4 25
4813