← Back to team overview

openerp-expert-production team mailing list archive

[Bug 596862] Re: Regression: on sales flow : we cannot cancel a SO anymore

 

IMHO this is a general problem

It must be possible to cancel/revert "ALL" of SO/PO/Picking/Invoice - but still conforming to accounting principles.
Currently every now and then I have to revert unwanted / wrong pickings manually because none of the methods provided are sufficient. 

So if some object  (specially Picking and Invoice) has the status "done" (or paid), we have to create a picking/invoice with reverted moves.
then the original and reverted object can (or must be !) be "reconciled" - to get a status a special status "canceled after done".

it is important not to break the accounting rules - everything must be
documented and no gaps must exist in the numbered documents.

I specially emphasise that this method will and must also create correct
accounting moves.

What remains open is the evaluation "cost of goods sold".
We should agree that reverting should use the same values (move_value_cost and move_value_sale in my branch) but this creates a problem if the average price has changed meanwhile or if the total qty available became 0 (zero).
So I suggest to create additional move_lines in accounting which accommodate for the difference  between move_value_cost of the original and reverted moves.

-- 
Regression: on sales flow : we cannot cancel a 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: New

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