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 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.
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: 6/4/13, 9:32 AM|
|Seen: 1131 times|
|Last updated: 3/16/15, 8:10 AM|