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

I'm trying to make an action to open a form view from a tree, with children.

By looking into the code, I found that I have to use an action with key2="tree_but_open". So I try the following action:

<act_window
        id="my_action"
        name="My Action"
        res_model="my.object"
        src_model="my.object"
        res_id="active_id"
        view_type="form"
        view_mode="form,tree"
        key2="tree_but_open"/>

I also found the "Action creation - Linking events to action" documentation, but I don't know how to use it in my case.

Can you help me ?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3949
3
thg 3 15
8236
3
thg 5 20
7344
3
thg 4 24
1661
1
thg 5 22
26085