Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

i want to add an action to the button

By
jawinho
on 8/23/14, 10:55 AM 774 views

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

0
klacus
On 8/23/14, 12:15 PM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/23/14, 10:55 AM
Seen: 774 times
Last updated: 3/16/15, 8:10 AM