← Back to team overview

openerp-expert-production team mailing list archive

[Bug 596862] Re: SO/PO should be allowed to be cancelled by un-linking the concerned packing!

 

Hi Jay,


You are right we can also delete the link on PO from picking. But as for SO, we need a way to delete or cancel the PO as well. Imagine someone made a mistake on a PO and confirm it :

- If the PO generated a picking list, we should be able to delete the
link to PO and return it through "return packing" wizard so stock
quantities are ok (this is ok). Then we should be able to delete or
cancel the PO (this is impossible)

- If the PO has not generated a picking list (for example, you only
write the description on it, but with no associated product), then you
should be able to delete or cancel it (this is not possible).

Actually, if the PO is Done, there is no way to delete or cancel it and
this is not really good for the end user. I suggest that a PO without
linked picking can be deleted (or canceled) according to the user right
of course.

Cancel will be my best choice (and a set to draft button as well) but I
understand it may be could not be included into stable release (go for
it on v6). Otherwise, I think we should replace the state != Done on
unlink function by a check on "is there any linked picking".

Hope it's more clear now.

Regards,

-- 
SO/PO should be allowed to be cancelled by un-linking the concerned packing!
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: Fix Released
Status in OpenObject Addons 5.0 series: Fix Released
Status in OpenObject Addons trunk series: Fix Released

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