Delivery Order Flow broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
Just installed a new instance of today's 7.0 trunk.
Installed demo data and sales, warehouse, manufacturing, accounts etc.
Opened a delivery order.
Click force availability
Click Deliver
Add a new product to the Delivery Order before final confirmation and OpenERP reports the following error:
---
Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: location_dest_id - location.dest.id]
---
If you do not add any more products the Delivery Order can be delivered.
I also noticed that if you return products after a Delivery Order has been delivered you still have the "return products" button available after they have been returned. trying to return them again causes a horrible blank popup and an error message (see attached screenshot)
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 118 lines (+25/-4)5 files modifiedstock/stock.py (+1/-0)
stock/stock_view.xml (+6/-2)
stock/wizard/stock_partial_picking_view.xml (+1/-1)
stock/wizard/stock_return_picking.py (+9/-0)
stock/wizard/stock_return_picking_view.xml (+8/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello Alan,
I have checked your scenario, I have faced the same problem at two different place. Let's see one by one...
Issue#1 : At the time of delivery order, add the product before confirm the delivery. At that time faced the warning "Integrity Error". so no need to "Add an Item" button in Delivery Product wizard.
Issue#2 : After Return the all deliver product. the "Return Products" button still there. so we should Improve this behavior.
So I am confirm this Issue with medium Importance and Let the team to take decision on it.
Thanks for the reporting!