Description
When we add a variant product in a purchase order, we have got an error :
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#productdetail: java.lang.IllegalArgumentException: Cannot format given Object as a Number (Cannot format given Object as a Number)
This error occurs in ProductDetail.groovy because virtualPriceMap.basePrice is null. In PriceServices.java (who create virtualPriceMap), basePrice is not add in virtualPriceMap. In the patch, I replace basePrice by price, and it works well.