Community mailing list archives

Re: Cancel done delivery order

Arche TI, Marc Cassuto
- 03/10/2015 09:03:20
+1 Joël

Count on me for testing !!


On 15-03-10 08:53 AM, Joël Grand-Guillaume wrote:
<blockquote cite="" type="cite">

First, I mostly agree with Eva here. I'm on a same kind of problematic on a quite huge project. My last thoughts about this is that may be a good way to achieve such a feature would be :

 * Add revision to SO/PO => So when canceled, you can make a new revision of the SO/PO by providing a reason for this action. The new version will have a tab where you can access to all past revision (for audit purpose). The idea is here to have:
     - SO0001, ID 36 -> Make a new revision
     - Copy SO0001, ID 37 -> is kept as revision 1
     - SO0001, ID 36 -> is kept as the "running" order
=> So like the backorder for pickings, the new copy for revision is in fact the historized version. The ID 36 will always be the "running" order.

 * Add a button that will :
    - Cancel the picking & related invoice if possible
    - Done deliveries are kept as done (as the new order is in fact the old revision)
    - If it succeed, cancel the SO, ask for a reason and create a new revision as draft

This way, we would only allow to make a new revision if you can first cancel what is remaining. If you can't, this is probably because it is wrong to do so !

I will start working on this (to be publish under the OCA). I think it is a clean way to do this, because if the system allow you to cancel something, then why can't you ease the user experience by providing some improvements around it !



On Tue, Mar 10, 2015 at 1:18 PM, Eva Pinter <> wrote:

+1 to Lionel ;-)

Eva P.

Affordable high quality training on

On 10 Mar 2015, at 08:42, Lionel Sausin <> wrote:

Le 10/03/2015 05:51, OpenERP Master a écrit :
> Hello,
> Thanks for your input. Unfortunately, this does happen and also 
> unfortunately other enterprise software supports this easily and it 
> comes out of box. To give you an example, in Netsuite ERP when you 
> confirm shipment the sale transforms into whats called an item 
> fulfillment.
Kind of like Odoo's procurements? You can cancel them in Odoo too I think.
> (...)There is a legitimate business case for the ability to delete a 
> delivery order and recreate it.
Yes, and most ERPs targetting SMBs have more relaxed data entry rules, 
BUT the price to pay is that they will produce ie. wrong product cost 
when you make a mess of the data.

That's why the new WMS has pretty strict requirements regarding data entry.
You must enter data in the same order as the real events they represent, 
and as close to real time as is practically possible. You must never 
delete data, nor fake the data (fake dates, quantities etc.).
These restrictions let Odoo make somewhat complex computations (real 
product cost for example) with a code base that is just simple enough to 
stand a chance of eventually being correct.

So if you make that change, be sure to analyse the whole WMS app line by 

Post to:

Post to:



Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28

Post to: