Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

Hi all,

I'm wondering how I can set the view to be chosen to display a model while using the shorter form of a window action definition - according to the book of Daniel Reis. Now I want to create a second view for a given model. Unfortunately I cannot find the right attribute to be used for the specification of this window action. Neither "view_id" nor "views" works - at least not in the way I use it. Can anybody give me an advice how to refer to a second (tree-) view for a given model?

Below is the window action definition - I defined a view with the id: "smart.view_tree_asset_reminder".
Many thanks in advance!

Carl

    <act_window id="smart.action_reminderWindow"
      name= "Reminder"
      res_model="smart.asset"
      view_mode="tree"
      view_type="tree"
      limit="80"
      view_id=???
      views=???
    />

 

.



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
aug. 23
2466
1
iul. 23
2619
0
iul. 23
2253
0
iul. 23
2077
1
iun. 23
7844