Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018296Openbravo ERPA. Platformpublic2011-08-16 23:462011-08-22 18:39
rgoris 
mtaal 
urgentmajoralways
closedfixed 
5
 
3.0MP3 
Core
No
0018296: Do not allow hiding of required fields without default value
In form builder it is possible to hide mandatory fields. This is ok for fields with valid default values (such as doc.nr) but not ok for fields that do not have defaults (e.g. business partner). Doing so can lead to serious confusion. Why can I not save the form?
Sales Order. FOrm builder: set business partner to invisible. Return to forms and create a new one. Try to save.
No tags attached.
Issue History
2011-08-16 23:46rgorisNew Issue
2011-08-16 23:46rgorisAssigned To => mtaal
2011-08-16 23:46rgorisModules => Core
2011-08-17 14:28hgbotCheckin
2011-08-17 14:28hgbotNote Added: 0040262
2011-08-17 14:28hgbotStatusnew => resolved
2011-08-17 14:28hgbotResolutionopen => fixed
2011-08-17 14:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f5cf822eeef68e9419db227a8aabfdd97b256ecb [^]
2011-08-18 16:49rgorisStatusresolved => closed
2011-08-22 18:39hudsonbotCheckin
2011-08-22 18:39hudsonbotNote Added: 0040395

Notes
(0040262)
hgbot   
2011-08-17 14:28   
Repository: erp/devel/pi
Changeset: f5cf822eeef68e9419db227a8aabfdd97b256ecb
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Aug 17 14:27:36 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f5cf822eeef68e9419db227a8aabfdd97b256ecb [^]

Fixes issue 18296: Do not allow hiding of required fields without default value
Prevent hiding of required fields, also don't let required fields without default value to be dropped on the status bar,
fields which were originally on the status bar should be able to be placed back

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-personalization-form.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFormComponent.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization-treegrid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalize-form.js
---
(0040395)
hudsonbot   
2011-08-22 18:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/30e6a459386a [^]

Maturity status: Test