IDEMPIERE-1792 Info Window - Default Logic missing / peer review
This commit is contained in:
parent
ae2f5b0da0
commit
366f642f63
|
@ -0,0 +1,11 @@
|
|||
SET SQLBLANKLINES ON
|
||||
SET DEFINE OFF
|
||||
|
||||
-- Jun 4, 2014 6:03:55 PM COT
|
||||
-- IDEMPIERE-1792 Info Window - Default Logic missing
|
||||
UPDATE AD_Field SET DisplayLogic='@IsQueryCriteria@=Y',Updated=TO_DATE('2014-06-04 18:03:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203048
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201406041804_IDEMPIERE-1792.sql') FROM dual
|
||||
;
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
-- Jun 4, 2014 6:03:55 PM COT
|
||||
-- IDEMPIERE-1792 Info Window - Default Logic missing
|
||||
UPDATE AD_Field SET DisplayLogic='@IsQueryCriteria@=Y',Updated=TO_TIMESTAMP('2014-06-04 18:03:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203048
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201406041804_IDEMPIERE-1792.sql') FROM dual
|
||||
;
|
||||
|
|
@ -1005,9 +1005,11 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
|
|||
|
||||
fieldEditor.addEventListener(Events.ON_OK, this);
|
||||
|
||||
if (! Util.isEmpty(mField.getVO().DefaultValue, true)) {
|
||||
// set default value
|
||||
mField.addPropertyChangeListener(editor);
|
||||
mField.setValue(mField.getDefault(), true);
|
||||
}
|
||||
} // addSelectionColumn
|
||||
|
||||
protected void addSearchParameter(Label label, Component fieldEditor) {
|
||||
|
|
Loading…
Reference in New Issue