[Trunk/7.0]Can't fix Repair Order where location is a view
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
Summary: If, by mistake, you enter a location of type view in a repair order, you can get all the way to clicking the "End Repair" button before OpenERP notices the mistake and then it won't let you correct it.
Same problem on 2 versions
OpenERP v7.0, online demo, 2013-02-26
http://
Reproduce
Create a Repair Order
Add an item in the operations where the "Source Location" is of type "View".
On the Repair Order: Save, Confirm Repair, Start Repair
Click "End Repair"
Warning message: "You cannot (...) from a location of type view"
Click OK
Click Edit
The line item that needs to be corrected is highlighted in blue but if you click on it nothing happens.
You can't "End Repair". You have to cancel it and then create a new one to replace it.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedmrp_repair/mrp_repair_view.xml (+1/-1)
summary: |
- Can't fix Repair Order where location is a view + [Trunk/7.0]Can't fix Repair Order where location is a view |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
If you cancel the Repair Order and then click "Set to Draft" then the line item becomes editable. Then, you can correct the bad entry, change the location so that is not of type View.
If all this behavior was intended the user has fallen into a dead end with no hint as to how to get out of it. I suggest an onscreen message somewhere that tells him to "Cancel" and then "Set to Draft" and then correct the mistake in the Repair Order.