← Back to team overview

openerp-expert-production team mailing list archive

[Bug 596862] Re: Regression on sales flow, no way to cancel SO anymore

 

Hi,


Alright, I came back from OpenERP SA Belgium and have discussed this issue with Fabien. For the stable release, we suggest to add the sale_id field in the out going packing and make it editable (for now it's read-only). So user can manually detach the outgoing packing from the SO, return it with the return packing wizard, and cancel the related SO.

This way, stock are alright and you can cancel the SO.

For the next version 6.0, we'll need something "cleaner" and a workflow
to allow the cancelation of the SO would be nice. This is a complex case
which need to be discussed with Fabien and the manufacturing/service
experts.

I attache the little patch to allow the cancellation in v. 5.0.

Regards,

Joël

** Patch added: "patch.diff"
   http://launchpadlibrarian.net/51446538/patch.diff

** Changed in: openobject-addons
       Status: New => Confirmed

-- 
Regression on sales flow, no way to cancel SO anymore
https://bugs.launchpad.net/bugs/596862
You received this bug notification because you are a member of OpenERP
Manufacturing Experts, which is a direct subscriber.

Status in OpenObject Addons Modules: Confirmed

Bug description:
Hi,


I just realized that with the new check on the last version it's just impossible to cancel a SO when his picking has already been confirmed !!!

I mean, this should not appear in a normal flow, I agree, but what to do when you're facing this !??

To reproduce :

1. Create a SO with 1 line (no matter the configuration)
2. Confirm it, go to the packing and confirmed it (force if necessary)
3. Go back to the SO, try to cancel => It says you must cancel the packing first !
=> Normal
4. Goto to the packing, you cannot cancel it, there is no button ! The workflow doesn't allow to cancel the "done" packing !
=> Can be normal...
5. Ok, so now you try to Delete this "done" packing in order to cancel your SO and it's not possible anymore !!! Says you cannot delete a done packing

So, you cannot cancel, you cannot delete the packing... But you need one of those solutions to delete your SO !!

We do need something here to be able to cancel the SO, whatever it is.

I'll suggest to enable the workflow transition from Done to Cancel state into packing. Doing this, we'll be able to ensure who's doing that through "role" security.

Thanks,


Joël