Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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 ?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
3935
3
mar 15
8220
3
maj 20
7335
3
kwi 24
1642
1
maj 22
26076