Odoo Help

Welcome!

This community 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.

0

how to revive a sale order from either 'cancel' or 'done' state?

By
Tep N
on 12/27/13, 12:31 PM 1,073 views

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.

Thank you.

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/

0

Fabrice Henrion (fhe)

--Fabrice Henrion (fhe)--
5823
| 7 7 8
San Francisco, United States
--Fabrice Henrion (fhe)--

Director Odoo USA

Fabrice Henrion (fhe)
On 12/28/13, 1:02 AM

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).

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 12/27/13, 12:31 PM
Seen: 1073 times
Last updated: 3/16/15, 8:10 AM