context: v7, Sales Order form view
We have encountered a few situations where a user:
1) accidentally clicked 'Cancel Order' button on a Sales Order in 'progress' / 'manual' state, resulting in the Sales Order being advanced through the workflow into 'cancel' state.
2) mistakenly clicked 'Ignore Exception' button on a Sales Order in 'except' state, resulting in the Sales Order being advanced through the workflow into 'done' state.
Since, in realities, these are Confirmed Sales Orders with valid completed/active order lines, we want to revive their states back into their respective original states rather than making a copy as a new Quotation.
Can anyone suggest on how to go about doing that? We have had a few-months-worth-of implementing our own addons modules to augment/modify openerp modules such as sale, project, res.partner, etc., so please feel free to get into technical / coding details.
PS. Moving forward, we'll be enabling the 'confirm' option on most risky buttons as suggested in help.openerp.com/question/8623/warn-user-before-cancelling-a-quotation/
If I'm not mistaken, this was possible by default in OpenERP v6.1. The mandatory "copy as a new quotation" was introduced in v7 by a pretty simple workflow edition. What you could probably do is to look at the workflow in v6.1 and change the one of v7 to reflect this behavior. But again, it's a supposition; I didn't look myself. Consider it just as a lead (pun intended).
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/27/13, 12:31 PM|
|Seen: 1076 times|
|Last updated: 3/16/15, 8:10 AM|