I am trying to open a wizard when i click on the "Save" Button of a form view (when it is in edit mode). This should appen only in the expense module, when the expense in in state "submit".
So far, i have managed to get an alert when i click on save, but i don't know how to attach my wizard and how to restrict this action only to "submit" state.
var popup = document.getElementsByClassName('oe_form_button_save btn btn-primary btn-sm');
Can someone help me with this?
Thank you :)
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
|Asked: 8/25/16, 3:33 AM|
|Seen: 183 times|
|Last updated: 8/25/16, 3:45 AM|