[Trunk/7.0]Can't fix Repair Order where location is a view

Bug #1133872 reported by Gilles Lehoux
6
This bug affects 1 person
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://7-0-4702.runbot.openerp.com

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

Revision history for this message
Gilles Lehoux (q-gilles-a) wrote :

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.

summary: - Can't fix Repair Order where location is a view
+ [Trunk/7.0]Can't fix Repair Order where location is a view
Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello Gilles,

Yes, We should Improve this behave with domain. so user can't select view type location.

Thanks!

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
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.

Other bug subscribers

Remote bug watches

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