[
https://issues.apache.org/jira/browse/OFBIZ-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14334684#comment-14334684
]
Jacques Le Roux commented on OFBIZ-5962:
----------------------------------------
Ha Deepak,
It's not
{quote}
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
{quote}
but
If productStore.orderDecimalQuantity *OR* 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 ;)
> 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
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-5962-1307.patch, OFBIZ-5962-TRUNK.patch
>
>
> 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)