IDEMPIERE-5025 Easier usage of process parameters (#1128)
Fix assignment of boolean parameters.
This commit is contained in:
parent
a5b5494294
commit
a9c4b932c4
|
@ -795,6 +795,8 @@ public abstract class SvrProcess implements ProcessCall
|
||||||
Object tmp = parameter.getParameter();
|
Object tmp = parameter.getParameter();
|
||||||
if(tmp instanceof String && tmp != null)
|
if(tmp instanceof String && tmp != null)
|
||||||
field.set(this, "Y".equals(tmp));
|
field.set(this, "Y".equals(tmp));
|
||||||
|
else
|
||||||
|
field.set(this, tmp);
|
||||||
} else {
|
} else {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue