Hi Team,
I have created a Sale Quotation after activating advance payment option.
I tried to create invoice for advance payment by clicking on « Invoice an Advance Payment » button:
This is successfully generating the invoice for me and I am also able to validate it. But I am not able to register payment for that invoice.
While confirming Payment on Payment Voucher it gives below error:
I am trying to add pay line manually using below option in Payment voucher:
As you can see I am not able to add amounts to pay line as they are not editable. After adding payline if I try to confirm payment it gives me below exception:
Below is the stack trace of Null Pointer exception:
←[2;39m2021-05-17 19:06:30.042←[m ←[31mERROR←[m ←[35m25484←[m ←[2;39m—←[m ←[2;39m[nio-8082-exec-3]←[m ←[36mc.a.exception.service.TraceBackService ←[m ←[2;39m:←[m java.lang.NullPointerException
at com.axelor.apps.account.service.payment.paymentvoucher.PaymentVoucherConfirmService.createMoveAndConfirm(PaymentVoucherConfirmService.java:230)
at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:56)
at com.axelor.apps.account.service.payment.paymentvoucher.PaymentVoucherConfirmService.confirmPaymentVoucher(PaymentVoucherConfirmService.java:144)
at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:64)
at com.axelor.apps.account.web.PaymentVoucherController.confirmPaymentVoucher(PaymentVoucherController.java:139)
at sun.reflect.GeneratedMethodAccessor2388.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.axelor.meta.ActionHandler.call(ActionHandler.java:185)
at com.axelor.meta.schema.actions.ActionMethod.evaluate(ActionMethod.java:76)
at com.axelor.meta.schema.actions.Action.execute(Action.java:98)
at com.axelor.meta.schema.actions.Action.wrap(Action.java:107)
at com.axelor.meta.schema.actions.ActionGroup.evaluate(ActionGroup.java:230)
at com.axelor.meta.schema.actions.Action.execute(Action.java:98)
at com.axelor.meta.schema.actions.Action.wrap(Action.java:107)
at com.axelor.meta.schema.actions.ActionGroup.evaluate(ActionGroup.java:230)
Can anyone please help me out with how to use/configure Advance Payment option in axelor ?