跳至内容
菜单
此问题已终结

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

 

.



形象
丢弃
相关帖文 回复 查看 活动
2
8月 23
2422
1
7月 23
2593
0
7月 23
2235
0
7月 23
2041
1
6月 23
7800