Can we use the header button (workflow button) to enter edit mode? I have tried
instance.web.FormView.include({
init: function() {
this._super.apply(this, arguments);
},
events: {
"click .resume_consultation": "resume_consultation",
},
resume_consultation : function(ev) {
ev.preventDefault();
ev.stopPropagation();
}
})