Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
983 Lượt xem

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 ?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ả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 25
1377
2
thg 7 25
3067
0
thg 1 25
1462
0
thg 10 24
1604
1
thg 3 24
3010