[ 
https://issues.apache.org/jira/browse/OFBIZ-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14279866#comment-14279866
 ] 

Deepak Dixit commented on OFBIZ-5962:
-------------------------------------

While fixing this issue found that orderDecimalQuantity check is missing while 
add item to cart and update order item flow. I'll add these check as well for 
add item and update order flow.

> If orderDecimalQuantity set to N then system should return error if user add 
> partial quantity in order
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5962
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5962
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 13.07, Trunk, 14.12.01
>            Reporter: Deepak Dixit
>            Assignee: Jacques Le Roux
>
> If productStore.orderDecimalQuantity and product.orderDecimalQuantity is set 
> to N, then system should return error if we try to add to partial quantity 
> then system should return error instead of rounding it to 0, 
> Actual Behavior: If partial quantity not allowed in in order process, and 
> user enter 1.5 quantity then it rounded it and add 2 quantity.
> Expected Behavior: if partial quantity not allowed then system should return 
> error instead of doing rounding if partial quantity passed during add/update 
> item.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to