From cd02b4be013e39e73d8521c8c8fd41540d19dbc8 Mon Sep 17 00:00:00 2001 From: ale-axelor <25925065+ale-axelor@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:22:44 +0100 Subject: [PATCH] Invoice: fixed advance payment refund RM88848 --- .../ventilate/VentilateAdvancePaymentRefundState.java | 4 +++- .../unreleased/88848-fixed-advance-payment-invoice-refund.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/88848-fixed-advance-payment-invoice-refund.yml diff --git a/axelor-account/src/main/java/com/axelor/apps/account/service/invoice/workflow/ventilate/VentilateAdvancePaymentRefundState.java b/axelor-account/src/main/java/com/axelor/apps/account/service/invoice/workflow/ventilate/VentilateAdvancePaymentRefundState.java index 4de19f01d89..db68bb17814 100644 --- a/axelor-account/src/main/java/com/axelor/apps/account/service/invoice/workflow/ventilate/VentilateAdvancePaymentRefundState.java +++ b/axelor-account/src/main/java/com/axelor/apps/account/service/invoice/workflow/ventilate/VentilateAdvancePaymentRefundState.java @@ -55,7 +55,8 @@ public VentilateAdvancePaymentRefundState( AccountingSituationService accountingSituationService, InvoiceJournalService invoiceJournalService, InvoicePfpValidateService invoicePfpValidateService, - InvoiceTermPfpToolService invoiceTermPfpToolService) { + InvoiceTermPfpToolService invoiceTermPfpToolService, + AdvancePaymentRefundService advancePaymentRefundService) { super( sequenceService, moveCreateFromInvoiceService, @@ -70,6 +71,7 @@ public VentilateAdvancePaymentRefundState( invoiceJournalService, invoicePfpValidateService, invoiceTermPfpToolService); + this.advancePaymentRefundService = advancePaymentRefundService; } @Override diff --git a/changelogs/unreleased/88848-fixed-advance-payment-invoice-refund.yml b/changelogs/unreleased/88848-fixed-advance-payment-invoice-refund.yml new file mode 100644 index 00000000000..e1ee119a583 --- /dev/null +++ b/changelogs/unreleased/88848-fixed-advance-payment-invoice-refund.yml @@ -0,0 +1,3 @@ +--- +title: "Invoice: fixed an issue preventing advance payment invoice refund." +module: axelor-account