[jira] [Commented] (OFBIZ-6100) Inconsistent tax calculation between checkout finalize and order created screen

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6100) Inconsistent tax calculation between checkout finalize and order created screen

Nicolas Malin (Jira)

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

Christian Carlow commented on OFBIZ-6100:
-----------------------------------------

Hey Divesh,

OrderAdjustment.amount was manually adjusted in the database since modifications are supported by OFBiz at this time.  Once OrderAdjustment.amount precision was manually increased from 3 to 4, the created order amounts and totals correctly matched the checkout screen from which it was created.

The currency-precise field type only uses 3 decimal points but 4 were needed to preserve the original checkout amount.  I'm not exactly sure how this issue should be resolved.  The fixed-point field supports 6 decimals but that may be overkill for calculation purposes.  

> Inconsistent tax calculation between checkout finalize and order created screen
> -------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6100
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6100
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>            Assignee: Michael Brohl
>
> I changed arithmetic.properties salestax.calc.decimals = 4 instead of 3 because my purchase order tax was 1 cent less than the receipt.  After accounting for 4 decimals, the tax was correctly calculated at the checkout finalize page, but once the order was created, the tax was 1 cent less than its previously calculated value.



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