Skip to Content
Menu
This question has been flagged
2 Replies
3046 Rodiniai

When decreasing order line qty on a confirmed SO,  Odoo creates a return from Customer to IN, even though pick/delivery isnt done yet. In earlier versions i would get a warning message that i manually have to decrease qty on the delivery order if i change the qty on the SO.


How do i get back to that behaviour?

Portretas
Atmesti

I have the same issue still in V15. Have you found a solution for this?

Autorius

When you add a quantity that equals a package quantity, it will set the package on the sale order line, even if you decrease the quantity the package is still there (even if its not a whole package). It doesnt work to decrease the quantity on the line if the old packaging is still set (if you dont decrease a full package).

What we did as a quick fix was to release the packaging from the orderline everytime we change quantity.

Autorius Best Answer

I've figured it out when it behaves like this. If you have a product package set on the product and if you create an order line with the contained quantity you can only decrease quantity by one whole package.


For example.

Product A has a package containing 350 units

If you make an order line with 700 units, edit and change quantity to 690 units it will create a IN move from customer.


If you decrease quantity to 350 or 0 it wont, it just updates the delivery order and pick list.

If you create an order line with 340 units, you can decrease quantity to what ever quantity, it will just update.


can anyone else reproduce this? 


Portretas
Atmesti
Best Answer

There is no functionality in v15 to create a return when you update the quantity on a confirmed Sales Order. Instead of a warning, we will adjust the demand on the Delivery Order for the User.


If you try to adjust below what you have already delivered you will see the message:


Something else must be creating that return. Check customizations and/or the configuration of the Rules on your Routes.


Portretas
Atmesti
Autorius

Any solution to this?

If i go to demo3.odoo.com, enable multi step routes, put on 2 step delivery on warehouse.
Create an order, add 10 products, save. Pick and delivery is created.
Edit qty to 8 units and save. It will create a return for 2 units from Customer, even though pick and delivery isnt processed/validated yet.