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

sorry if my English is bad
hey you guy, i am new to Odoo and i try creating a new module and i do thing about "button" but i see a "New" button is available and an icon when i am holding it, it shows "save manually". Where is this button and icon from ? Is it available in odoo folder ?


形象
丢弃
最佳答案

New Button

List view: addons/web/static/src/views/list/list_controller.xml, line 9 

Form View: addons/web/static/src/views/form/form_controller.xml, line 51


You get the idea its usually from the controller of the views you are looking at.


Save Manually

Form view:addons/web/static/src/views/form/form_status_indicator/form_status_indicator.xml, line 15


You can refer these directories to find New and save manually button

形象
丢弃
相关帖文 回复 查看 活动
2
7月 25
1303
2
7月 25
3012
0
1月 25
1403
0
10月 24
1574
1
3月 24
2953