Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026569Openbravo ERPA. Platformpublic2014-05-16 10:492015-02-24 17:12
vmromanos 
AugustoMauch 
normalminoralways
newopen 
20Debian 5.0
 
 
Core
No
0026569: Trees: it should be possible to define a read only tree where records can be deleted
Right now, when you define a tab with a read only tree, the delete button is disabled. If you want to delete a record you need to change to grid view and select the record(s) you want to delete. Besides, when changing to grid view, the order of the records is changed and it's very difficult to remember the record(s) you wanted to delete.

I think it makes sense to specify if a tree allows to delete records regardless the read only flag. In this case the system should enable the delete button (and the delete record context menu entry).
1. Define a table with Is Tree = Y
2. Go to Table Tree Category tab and create a new record. Define any possible tree configuration
3. Into the tab associated to this table, set Read Only Tree = Y
4. Go to this tab, change to the tree view. The delete button is disabled.
Allow to delete records from the tree view regardless the read only tree configuration.

Probably the Node Deletion Policy at Table Tree Category tab can be used to define richer configuration, or alternatively a create a new flag at tab level. Not sure where is the best place to define it.
No tags attached.
Issue History
2014-05-16 10:49vmromanosNew Issue
2014-05-16 10:49vmromanosAssigned To => AugustoMauch
2014-05-16 10:49vmromanosModules => Core
2014-05-16 10:49vmromanosTriggers an Emergency Pack => No
2015-02-24 17:12alostaleNote Added: 0074862
2015-02-24 17:12alostaleTypedefect => feature request

Notes
(0074862)
alostale   
2015-02-24 17:12   
Moving to FR