Skip to content

Commit

Permalink
Merge branch 'main' into hotfix/#192-EPL-750
Browse files Browse the repository at this point in the history
  • Loading branch information
valeg-etendo authored Dec 5, 2023
2 parents cfc3793 + e1472d6 commit 19a9cbd
Show file tree
Hide file tree
Showing 14 changed files with 653 additions and 426 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ dependencies {

}

final String CURRENT_VERSION = "23.3.2"
final String CURRENT_VERSION = "23.3.3"
final String NEXT_RELEASE = "23.4.0"
final String NEXT_HOTFIX = "23.3.3"
final String NEXT_HOTFIX = "23.3.4"

final String DEV_URL = "https://repo.futit.cloud/repository/maven-snapshots/"
final String PROD_URL = uri("https://maven.pkg.github.com/etendosoftware/etendo_core/")
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,11 @@
SELECT o.c_order_id
FROM c_order o
JOIN fin_payment_schedule pso ON o.c_order_id = pso.c_order_id
WHERE EXISTS (SELECT 1
FROM c_invoice i
JOIN c_invoiceline il ON il.c_invoice_id = i.c_invoice_id
JOIN c_orderline ol ON il.c_orderline_id = ol.c_orderline_id
WHERE ol.c_order_id = o.c_order_id
AND i.docstatus = ''CO''
AND NOT EXISTS (SELECT 1 FROM fin_payment_scheduledetail psd
JOIN fin_payment_schedule psi ON psd.fin_payment_schedule_invoice = psi.fin_payment_schedule_id
WHERE il.c_invoice_id = psi.c_invoice_id
AND psd.fin_payment_schedule_order = pso.fin_payment_schedule_id)
GROUP BY il.c_invoice_id
HAVING sum(il.linenetamt +coalesce(c_getinvoiceline_taxamount(il.c_invoiceline_id),0)) != 0)
AND EXISTS (SELECT 1 FROM fin_payment_scheduledetail psdo
WHERE psdo.fin_payment_schedule_order = pso.fin_payment_schedule_id)) o
WHERE EXISTS (SELECT 1 FROM c_invoice i JOIN c_invoiceline il ON il.c_invoice_id = i.c_invoice_id JOIN c_orderline ol ON il.c_orderline_id = ol.c_orderline_id
WHERE ol.c_order_id = o.c_order_id AND i.docstatus = ''CO'' AND NOT EXISTS (SELECT 1 FROM fin_payment_scheduledetail psd JOIN fin_payment_schedule psi ON psd.fin_payment_schedule_invoice = psi.fin_payment_schedule_id
WHERE il.c_invoice_id = psi.c_invoice_id AND psd.fin_payment_schedule_order = pso.fin_payment_schedule_id)
GROUP BY il.c_invoice_id HAVING sum(il.linenetamt +coalesce(c_getinvoiceline_taxamount(il.c_invoiceline_id),0)) != 0)
AND EXISTS (SELECT 1 FROM fin_payment_scheduledetail psdo WHERE psdo.fin_payment_schedule_order = pso.fin_payment_schedule_id)) o
JOIN c_orderline ol ON ol.c_order_id = o.c_order_id
JOIN c_invoiceline il ON il.c_orderline_id = ol.c_orderline_id
JOIN c_invoice inv ON inv.c_invoice_id = il.c_invoice_id
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.openbravo.client.kernel.event.EntityPersistenceEvent;
import org.openbravo.client.kernel.event.EntityPersistenceEventObserver;
import org.openbravo.client.kernel.event.EntityUpdateEvent;
import org.openbravo.erpCommon.utility.OBMessageUtils;
import org.openbravo.model.financialmgmt.gl.GLItem;
import org.openbravo.model.financialmgmt.payment.FIN_FinaccTransaction;
import org.openbravo.model.financialmgmt.payment.FIN_Payment;
Expand Down Expand Up @@ -79,8 +80,10 @@ private void validateTransactionType(final EntityPersistenceEvent event) {
if ((StringUtils.equals(transactionType, APRMConstants.TRXTYPE_BPDeposit)
|| StringUtils.equals(transactionType, APRMConstants.TRXTYPE_BPWithdrawal))
&& glItem == null && payment == null) {
logger.debug("@APRM_INVALID_TRANSACTION@");
throw new OBException("@APRM_INVALID_TRANSACTION@");
if (logger.isDebugEnabled()) {
logger.debug(OBMessageUtils.parseTranslation("@APRM_INVALID_TRANSACTION@"));
}
throw new OBException(OBMessageUtils.parseTranslation("@APRM_INVALID_TRANSACTION@"));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!--0138E7A89B5E4DC3932462252801FFBC--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--0138E7A89B5E4DC3932462252801FFBC--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--0138E7A89B5E4DC3932462252801FFBC--> <NAME><![CDATA[Openbravo 3.0]]></NAME>
<!--0138E7A89B5E4DC3932462252801FFBC--> <VERSION><![CDATA[23.3.2]]></VERSION>
<!--0138E7A89B5E4DC3932462252801FFBC--> <VERSION><![CDATA[23.3.3]]></VERSION>
<!--0138E7A89B5E4DC3932462252801FFBC--> <DESCRIPTION><![CDATA[Openbravo 3.0 distribution template]]></DESCRIPTION>
<!--0138E7A89B5E4DC3932462252801FFBC--> <HELP><![CDATA[Openbravo 3.0 is a collection (distribution) of modules. This template is a container of all the modules and configuration changes that compose Openbravo 3.0.]]></HELP>
<!--0138E7A89B5E4DC3932462252801FFBC--> <URL><![CDATA[http://forge.openbravo.com/projects/vthree]]></URL>
Expand All @@ -20,8 +20,8 @@
<!--0138E7A89B5E4DC3932462252801FFBC--> <HASCHARTOFACCOUNTS><![CDATA[N]]></HASCHARTOFACCOUNTS>
<!--0138E7A89B5E4DC3932462252801FFBC--> <ISTRANSLATIONMODULE><![CDATA[N]]></ISTRANSLATIONMODULE>
<!--0138E7A89B5E4DC3932462252801FFBC--> <HASREFERENCEDATA><![CDATA[N]]></HASREFERENCEDATA>
<!--0138E7A89B5E4DC3932462252801FFBC--> <UPDATEINFO><![CDATA[https://docs.etendo.software/whats-new/release-notes/etendo-classic/versions/23Q3-2]]></UPDATEINFO>
<!--0138E7A89B5E4DC3932462252801FFBC--> <VERSION_LABEL><![CDATA[23Q3.2]]></VERSION_LABEL>
<!--0138E7A89B5E4DC3932462252801FFBC--> <UPDATEINFO><![CDATA[https://docs.etendo.software/whats-new/release-notes/etendo-classic/versions/23Q3-3]]></UPDATEINFO>
<!--0138E7A89B5E4DC3932462252801FFBC--> <VERSION_LABEL><![CDATA[23Q3.3]]></VERSION_LABEL>
<!--0138E7A89B5E4DC3932462252801FFBC--> <ISCOMMERCIAL><![CDATA[N]]></ISCOMMERCIAL>
<!--0138E7A89B5E4DC3932462252801FFBC--> <ISTRIALALLOWED><![CDATA[N]]></ISTRIALALLOWED>
<!--0138E7A89B5E4DC3932462252801FFBC--></AD_MODULE>
Expand Down
Loading

0 comments on commit 19a9cbd

Please sign in to comment.