[
https://issues.apache.org/jira/browse/OFBIZ-9915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16302290#comment-16302290
]
Ankush Upadhyay commented on OFBIZ-9915:
----------------------------------------
Yes [~jacques.le.roux] this is failing if someone create return without from
party id. In case of sales return the from party would be customer and in case
of vendor it would organization itself and it should exist for both the cases
so IMO we can make from party field as required and it should resolve the
report case as well.
Attaching patch for the fix.
> Error printing Return PDF
> -------------------------
>
> Key: OFBIZ-9915
> URL: https://issues.apache.org/jira/browse/OFBIZ-9915
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Environment: https://demo-trunk.ofbiz.apache.org/ordermgr/
> Reporter: Priya Sharma
> Assignee: Ankush Upadhyay
> Attachments: OFBIZ-9915.patch, return-pdf.png
>
>
> 1) Navigate to view return screen
> [https://demo-trunk.ofbiz.apache.org/ordermgr/control/returnMain?returnId=10007]
> 2) Select any return.
> 3) Click on the PDF button, redirected to another tab but error message is
> returned.
> https://demo-trunk.ofbiz.apache.org/ordermgr/control/return.pdf?returnId=10007
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)