I wanna change required field value before "Save" via button click, but call button will write values first -- required fields may not have filled in, problem here.
So, change values in frontend should avoid this problem, that's why I want to know how to do it.
I'm using Odoo 9, ideas from other version will be also useful, please share your solution.
can you be more specific about your issue?