[
https://issues.apache.org/jira/browse/OFBIZ-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sharan Foga updated OFBIZ-3634:
-------------------------------
Sprint: Bug Crush Event - 21/2/2015
> ProductPromoWorker PROMO_GWP hard-codes a required inventory check
> ------------------------------------------------------------------
>
> Key: OFBIZ-3634
> URL: https://issues.apache.org/jira/browse/OFBIZ-3634
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Reporter: Adam Heath
> Attachments: PROMO_GWP_inventory_check.patch
>
>
> PROMO_GWP processing always requires the gifted item to have available
> inventory. There is no way to have that configurable, no way to have the
> free item get backordered.
> The attached patch removes the inventory check on *real* products, and
> instead created a new condition, PPIP_PRODUCT_INV, so that *any* promo can
> pass/fail based on an inventory check.
> I did not commit this patch, because the full fix would need to handle
> virtual products as well. I don't understand how PROMO_GWP works with
> virtual products when doing inventory, so I need help with that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)