Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3652 มุมมอง

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 :) 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How do you create a button? แก้ไขแล้ว
3
เม.ย. 17
2768
0
เม.ย. 17
5309
Button to open form. V11 แก้ไขแล้ว
2
มี.ค. 19
3180
1
มิ.ย. 24
3756
1
ต.ค. 20
4374