IDEMPIERE-5558 Payment Selection (manual) unusable when the first bank doesn't have payment rules configured (#1657)
This commit is contained in:
parent
cc03f09a0b
commit
ad09706b41
|
@ -389,8 +389,8 @@ public class WPaySelect extends PaySelect
|
|||
|
||||
|
||||
BankInfo bi = fieldBankAccount.getSelectedItem().getValue();
|
||||
|
||||
ValueNamePair paymentRule = (ValueNamePair) fieldPaymentRule.getSelectedItem().getValue();
|
||||
|
||||
ValueNamePair paymentRule = (fieldPaymentRule.getSelectedItem() != null ? (ValueNamePair) fieldPaymentRule.getSelectedItem().getValue() : null);
|
||||
KeyNamePair bpartner = (KeyNamePair) fieldBPartner.getSelectedItem().getValue();
|
||||
KeyNamePair docType = (KeyNamePair) fieldDtype.getSelectedItem().getValue();
|
||||
|
||||
|
|
Loading…
Reference in New Issue