Fix Bug [ 1841458 ] CreatePDF underdeveloped routine?
As reported by Armen I also notice that in MInout.java, it assign to C_Invoice_ID instead of M_Inout_ID
This commit is contained in:
parent
fe1cc0a360
commit
2c190e12d1
|
@ -527,7 +527,7 @@ public class MInOut extends X_M_InOut implements DocAction
|
||||||
*/
|
*/
|
||||||
public File createPDF (File file)
|
public File createPDF (File file)
|
||||||
{
|
{
|
||||||
ReportEngine re = ReportEngine.get (getCtx(), ReportEngine.SHIPMENT, getC_Invoice_ID());
|
ReportEngine re = ReportEngine.get (getCtx(), ReportEngine.SHIPMENT, getM_InOut_ID());
|
||||||
if (re == null)
|
if (re == null)
|
||||||
return null;
|
return null;
|
||||||
return re.getPDF(file);
|
return re.getPDF(file);
|
||||||
|
|
Loading…
Reference in New Issue