Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021306
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2012-08-03 13:022012-08-29 17:02
ReporterngarciaView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP15
StatusclosedFix in branchFixed in SCM revision562813057ec3
ProjectionnoneETAnoneTarget Version3.0MP15
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021306: A record can be deleted with the Supr button in grid view when the UIPattern of the tab is "Edit Only (No Insert nor Delete)"

DescriptionA record can be deleted with the Supr button in grid view when the UIPattern of the tab is "Edit Only (No Insert nor Delete)"
Steps To ReproduceAs group admin role:
   Create a purchase invoice and complete it
   Go to the Payment Plan tab
   Notice that when selecting the record the "Trash" button of the toolbar is disabled but you can delete it with the Supr button of the keyboard
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051158)
hgbot (developer)
2012-08-08 08:59

Repository: erp/devel/pi
Changeset: 562813057ec35d5138dcaedbe92e08b16126b1a0
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Aug 08 08:57:23 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/562813057ec35d5138dcaedbe92e08b16126b1a0 [^]

Fixes issue 21306: Delete record shortcut improved

So far, the only check done when deleting a record with the shortcut Supr was to count the number of selected records, and not to check if the tab is read only, is the table is deleteable, etc.

Now, before deleting a record with the shortcut, the status of the delete button (where the logic to see if the removal of records is anabled) is checked. If the delete button is not enabled, it will not be possible to delete the record with the shortcut.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---

- Issue History
Date Modified Username Field Change
2012-08-03 13:02 ngarcia New Issue
2012-08-03 13:02 ngarcia Assigned To => alostale
2012-08-03 13:02 ngarcia Modules => Core
2012-08-03 13:02 ngarcia Resolution time => 1346796000
2012-08-03 13:03 ngarcia Issue Monitored: networkb
2012-08-06 14:22 jonalegriaesarte Target Version => 3.0MP15
2012-08-07 13:33 RafaelCruz Issue Monitored: RafaelCruz
2012-08-08 08:59 hgbot Checkin
2012-08-08 08:59 hgbot Note Added: 0051158
2012-08-08 08:59 hgbot Status new => resolved
2012-08-08 08:59 hgbot Resolution open => fixed
2012-08-08 08:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/562813057ec35d5138dcaedbe92e08b16126b1a0 [^]
2012-08-29 17:02 marvintm Status resolved => closed
2012-08-29 17:02 marvintm Fixed in Version => 3.0MP15


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker