IDEMPIERE-5558 Payment Selection (manual) unusable (#1661)
- fix problem with filling the table before payment rule is set
This commit is contained in:
parent
2b24496d16
commit
e6c53e9e32
|
@ -331,7 +331,7 @@ public class PaySelect
|
||||||
boolean onlyPositiveBalance, KeyNamePair bpartner, KeyNamePair docType, IMiniTable miniTable)
|
boolean onlyPositiveBalance, KeyNamePair bpartner, KeyNamePair docType, IMiniTable miniTable)
|
||||||
{
|
{
|
||||||
// not yet initialized
|
// not yet initialized
|
||||||
if (m_sql == null)
|
if (m_sql == null || paymentRule == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String sql = m_sql;
|
String sql = m_sql;
|
||||||
|
|
Loading…
Reference in New Issue