IDEMPIERE-481 Order field cleared at Shipment window
This commit is contained in:
parent
5a41941d55
commit
331fab6ed4
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue