Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/25/16, 3:33 AM|
|Seen: 410 times|
|Last updated: 8/25/16, 3:45 AM|