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 :)
About This Community
|Asked: 8/25/16, 3:33 AM|
|Seen: 324 times|
|Last updated: 8/25/16, 3:45 AM|