[6.0][stock] return picking create move line even if qty is zero!

Bug #633545 reported by Raphaël Valyi - http://www.akretion.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Won't Fix
Wishlist
Unassigned

Bug Description

Hello

using addons #4897 + fresh demo database + stock module.

Create a new sale order with 2 lines: 1 PC1 and 1 ATX.
Then validate the related expedition picking.
Now on the picking screen, return the picking using the 'return picking' wizard.
return 1 PC1 and 0 ATX
validate the return.

If you go to the related return picking you'll see that it contains a move line for the 0 ATX !!
Worse, if you create an invoice upon that picking the invoice will have a line with 0 ATX and price = 0.

I think that when the returned quantity is 0, the return picking should have no related move with 0 as the quantity.
Thoughts?

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

I also prefer this solution, but we had several requests from customers that said it's very important that picking have the same lines than in the sale order, even if the quantities are not the same for the matching. (it was also related to an EDI synchro with SAP) Does anyone had the same requests ? If nobody had the same request, we can simplify as proposed by raphael.

Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Nathan (nathan-bowden-kiwi) wrote :

--Based on the trunk sale/stock testing done by my colleagues for 6.0 migration.
I would propose SAP system flow process similarity.

Changed in openobject-addons:
status: Confirmed → Won't Fix
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.