This question has been flagged
3463 Views

I would like to prompt the user on press of a signal button in a workflow. The scenario is that quotes are internally approved before sending to the customer. The approver can accept the quote, or reject it. If they reject it I want to ask them for a reason, e.g. "margin isn't big enough" or whatever. I want that to go in the openchatter, which I can do with something like self.message_post(cr, uid, ids, body=reject_msg, context=context) I just don't know how to intercept the click on the reject button and ask for the message before following the reject path of the workflow.

Avatar
Discard