← 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 Experts,

Please find the attached patch.

It will allow you to remove the link between sale order/purchase order
and its picking, which in turn lets you cancel the SO/PO.

Moreover, the act_window link of 'Packing' from Purchase order has been
corrected too.

Please post your suggestions.

I fear about cancellation of Procurement as the workflow does not seem
efficient,but it is another issue yet relevant.

Thanks.

** Patch added: "allow_cancelling_SO_PO.patch"
   http://launchpadlibrarian.net/53101577/allow_cancelling_SO_PO.patch

-- 
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
Status in OpenObject Addons 5.0 series: In Progress
Status in OpenObject Addons trunk series: 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