Delivery Order Flow broken

Bug #1089002 reported by Alan Lord
18
This bug affects 3 people
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

Revision history for this message
Alan Lord (theopensourcerer) wrote :
Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

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!

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Khushboo Bhatt(openerp) (kbh-openerp) wrote :

Hello Alan,

This issue has been fixed on lp:~openerp-dev/openobject-addons/trunk-bug-1089002-kbh branch with following rev no and rev ID

Rev No : 8294
Revision ID: <email address hidden>

Thanks,
Khushboo.

Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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