跳至內容
選單
此問題已被標幟
1 回覆
3844 瀏覽次數


I would like to know if it is possible to link a view with the top "Create button" of a custom module given that this button isn't a part of any view.

Now when I click on this button Odoo opens a new row that I have to fill but I would like to open a view (or a wizard) in order to add this new entry.

I have been told that this process is done in JS ?

The form when we click on "Create" from the quotation page would be perfect but I can't find how it is done.

頭像
捨棄
最佳答案

I guess you're about a page where you've list view by default, right? if so, then you've to edit properties of a "tree" tag in XML of your listview. there should be one of editable="top" or editable="bottom" property. remove that property and update module. 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
7月 22
2978
1
11月 16
5895
0
3月 15
3512
2
3月 15
3810
1
3月 15
6696