Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014837Openbravo ERP01. General setuppublic2010-10-08 12:222010-12-09 16:06
networkb 
alostale 
normalminoralways
closedfixed 
5
2.50MP22 
2.50MP24 
Core
No
0014837: The 'Delete Record' button appears in the grid view
When we have a role with a 'window access' without 'Editable field' in the grid view the 'Delete Record' button appears (In the Form View this button does not appear)
- As Openbravo Admin go to General Setup || Security || Role
- Select the 'production' role and go to 'Window Access'
- Create a new record:
      - Window: Business Partner
      - Not check 'Editable Field'

- As Production go to General Setup || Security || Role
- Go to Form View, realize that the button does not appear.
- Go to Grid View, realize that the button appears.
No tags attached.
Issue History
2010-10-08 12:22networkbNew Issue
2010-10-08 12:22networkbAssigned To => adrianromero
2010-10-13 12:42adrianromeroAssigned Toadrianromero => alostale
2010-10-25 08:55alostaleStatusnew => scheduled
2010-11-05 09:51hgbotCheckin
2010-11-05 09:51hgbotNote Added: 0032405
2010-11-05 09:51hgbotStatusscheduled => resolved
2010-11-05 09:51hgbotResolutionopen => fixed
2010-11-05 09:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/75b7be18a77ab607ee26ddc3c18cbdcf2d5673fe [^]
2010-11-08 16:09hudsonbotCheckin
2010-11-08 16:09hudsonbotNote Added: 0032468
2010-11-17 13:06marvintmNote Added: 0032662
2010-11-17 13:06marvintmStatusresolved => closed
2010-12-09 16:06anonymoussf_bug_id0 => 3133504

Notes
(0032405)
hgbot   
2010-11-05 09:51   
Repository: erp/devel/pi
Changeset: 75b7be18a77ab607ee26ddc3c18cbdcf2d5673fe
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Nov 05 09:51:14 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/75b7be18a77ab607ee26ddc3c18cbdcf2d5673fe [^]

fixed bug 14837: The 'Delete Record' button appears in the grid view

  Removed delete button from grid's toolbar in case the role does not have
  writting permissions on the tab.

---
M src-wad/src/org/openbravo/wad/javasource.javaxml
---
(0032468)
hudsonbot   
2010-11-08 16:09   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/75b7be18a77a [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/1f84d66d0fcd [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18799.obx [^]
(0032662)
marvintm   
2010-11-17 13:06   
Works fine.