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

hello everyone ,

as u can see in the picture :i have a fleet module and i added a violation button to Vehicles, so i want to link it with violation page to display a car's violation.

http://s23.postimg.org/iuefqwquj/Untit11led.jpg

actually i added a button by editing the xml of vehicles page (from debug menu i choose Edit FormView) 
as u can see in the picture i added a button but i don't know how to create the xml_id for violation

http://s17.postimg.org/690ey16kf/image.jpg

thanks :) 

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

Hi.

This is a bit difficult without python.

If you want to create and proper way of the actions, you need to follow this:

https://doc.odoo.com/6.0/developer/2_6_views_events/views/design_element/

and this:

https://doc.odoo.com/6.0/developer/2_6_views_events/

and my :

https://doc.odoo.com/6.0/developer/2_7_menu_action/7_2_actions/

Just a couple of days you will be perfect.

Good Lock!

L.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 17
2717
0
thg 4 17
5279
2
thg 3 19
3138
1
thg 6 24
3721
1
thg 10 20
4356