IDEMPIERE-481 Order field cleared at Shipment window

This commit is contained in:
Heng Sin Low 2012-11-07 07:31:46 +08:00
parent 5a41941d55
commit 331fab6ed4
1 changed files with 11 additions and 1 deletions

View File

@ -423,7 +423,17 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
if (!updated)
{
setValue(value);
if (gridTab != null && gridField != null) {
if (value == null && gridField.getValue() != null) {
gridTab.setValue(gridField, value);
} else if (value != null && gridField.getValue() == null) {
gridTab.setValue(gridField, value);
} else if (value != null && !value.equals(gridField.getValue())) {
gridTab.setValue(gridField, value);
}
}
}
} // actionCombo
/**