跳至内容
菜单
此问题已终结
1 回复
3759 查看


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
2819
1
11月 16
5723
0
3月 15
3392
2
3月 15
3686
1
3月 15
6562