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


This is a good idea, but to be perfect we need :

- Correct the picking view from SO directly and add the sale_id field
- Correct the view from menu Stock -> out picking and add the sale_id field (done in my patch)
- Correct the view from menu Stock - Incoming picking and add the purchase_id field
- The field purchase_id of stock.picking must be "writable" as for sale_id
- Correct the view called from purchase order through "Packing" link and add the purchase_id field

Then will have a perfectly handled solution :

- Same for PO and SO
- Access from all views (direct / link and form related menu)

Thanks,

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