FR 3110127 - Null error when use Generate Invoice from Receipt
http://sourceforge.net/support/tracker.php?aid=3110127 Fix provided by Kitti U
This commit is contained in:
parent
36ac1b1102
commit
3df5962ed5
|
@ -244,7 +244,7 @@ public class MInvoiceLine extends X_C_InvoiceLine
|
|||
setDescription(sLine.getDescription());
|
||||
//
|
||||
setM_Product_ID(sLine.getM_Product_ID());
|
||||
if (sLine.sameOrderLineUOM())
|
||||
if (sLine.sameOrderLineUOM() || getProduct() == null)
|
||||
setC_UOM_ID(sLine.getC_UOM_ID());
|
||||
else
|
||||
// use product UOM if the shipment hasn't the same uom than the order
|
||||
|
|
Loading…
Reference in New Issue