[7.0] sale order: action_cancel_draft does not exist

Asked by Stephane SALAH

hi,

the button and the action action_cancel_draft does not exist on V 7.0.

On 6.1 we could back to draft a sale order in cancel test.

Is it possible to put it back?

thanks

stephane

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Ferdinand
Solved:
Last query:
Last reply:
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) said :
#1

Hello Stephane,

In 6.1 we had action_cancel_draft feature. Due to that feature user could able to cancel confirm sale order and set it again to draft state.

But currently, In V7.0 We have improved that behavior in sale order. As I have shown in my attached video, that when you want to cancel your confirm sale order , for that firstly you must have to delete all delivery entries , which is attached with your sale order then after you will be able to cancel sale order and can create new draft quotation.

We have totally remove that action action_cancel_draft from the sale module. So, I am converting it to question.

I hope you understand..

Thank you..

Revision history for this message
Stephane SALAH (stephanesalah) said :
#2

Ok i undertand what you say.

but in your method, ths must pas by affect a new sale order to the customer.

In 6.1 we had posibility to cancel a sale (after cancel invoice and logistic picking) and bacj to draft mode.

In draft mode we had possibility to alter the sale order and confirm it with the SAME order number.

i thnik its not possible in 7.0. So for my customer its a regression on his organisation mode.

Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) said :
#3

6.1 behavior was more flexible.

Actually we are changing 7.0 behavior back to the 6.1 one because we need somehow to be able to cancel a SO (and keep the same id) for which no goods have been sent out.

Revision history for this message
Best Ferdinand (office-chricar) said :
#4

please see
http://bazaar.launchpad.net/~camptocamp/c2c-rd-addons/7.0/files/head:/sale_order_reopen/
and
account_invoice_reopen
mrp_reopen
purchase_order_reopen

it is an every day issue that users make "mistakes" and want to change something (as long as it is "allowed")

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) said :
#5

I agree with Eric Caudal: being able to do this is of vital importance for things such as the magento openerp connector.

Revision history for this message
Stephane SALAH (stephanesalah) said :
#6

Thanks Ferdinand @ Camptocamp, that solved my question.