コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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
2500
1
7月 23
2654
0
7月 23
2273
0
7月 23
2125
1
6月 23
7866