This question has been flagged

I want to save data from an input element when the user clicks on save. The input element is made from an template used in a widget, this input element is not a field. I want to save the data from this input and some other input elements (that aren't fields) as well. Basically, I will need jQuery and UnderscoreJS. So how do I run javascript when someone clicks on the save button in a module?
I am using odoo 9.0


Avatar
Discard