Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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

 

.



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 23
2544
1
thg 7 23
2711
0
thg 7 23
2291
0
thg 7 23
2164
1
thg 6 23
7897