[
https://issues.apache.org/jira/browse/OFBIZ-13335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18050594#comment-18050594
]
Nameet Jain commented on OFBIZ-13335:
-------------------------------------
It appears that during the conversion of the *{{createPaymentFromOrder}}*
service from MiniLang to the Groovy DSL, the service behavior has changed.
Below are the relevant references for more context:
* Related ticket:
https://issues.apache.org/jira/browse/OFBIZ-11499
* Commit history:
[https://github.com/apache/ofbiz-framework/commit/8d5dae6]
> Purchase Order approval fails when payment auto create config is disabled
> -------------------------------------------------------------------------
>
> Key: OFBIZ-13335
> URL: https://issues.apache.org/jira/browse/OFBIZ-13335
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Upcoming Branch, 24.09
> Reporter: Nameet Jain
> Priority: Major
> Attachments: OFBIZ-13335.patch, image-2026-01-08-15-40-00-156.png
>
>
> *Steps to Generate*
> # Update the setting in accounting.properties:
> {code:java}
> accounting.payment.purchaseorder.autocreate=N{code}
> # Restart OFBiz.
> # Place a Purchase Order.
> # Approve the order.
> *Expected*
> Purchase order should be approved with no payment records generated.
> *Actual*
> !image-2026-01-08-15-40-00-156.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)