use of com.axelor.apps.bankpayment.db.BankReconciliation in project axelor-open-suite by axelor.
the class BankReconciliationController method setBankDetailsDomain.
public void setBankDetailsDomain(ActionRequest request, ActionResponse response) {
BankReconciliation bankReconciliation = request.getContext().asType(BankReconciliation.class);
String domain = Beans.get(BankReconciliationService.class).createDomainForBankDetails(bankReconciliation);
// if nothing was found for the domain, we set it at a default value.
if (domain.equals("")) {
response.setAttr("bankDetails", "domain", "self.id IN (0)");
} else {
response.setAttr("bankDetails", "domain", domain);
}
}
Aggregations