CalloutOrder should check the Attribute Set configurations and the M_AttributeSetInstance_ID before throwing InsufficientQtyAvailable
Description
When creating a Order Line for a product that has a Atribute Set with an instance attribute, an InsufficientQtyAvailable message is showed for the users after the product (M_Product_ID) selection.
I think that this verification should be done just after the Attribute Set Instance selection.
@Murilo Habermann Torquato - tested and the MStorageReservation.getQtyAvailable count all the products when the ASI is not set, so the patch is not necessary
When creating a Order Line for a product that has a Atribute Set with an instance attribute, an InsufficientQtyAvailable message is showed for the users after the product (M_Product_ID) selection.
I think that this verification should be done just after the Attribute Set Instance selection.
More details at: https://groups.google.com/forum/#!msg/idempiere/g21_J4SK9NI/jJUgVv2Yv_kJ
Attached there's a patch that we use.