This question has been flagged

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=???
    />

 

.



Avatar
Discard