Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037787Retail ModulesWeb POSpublic2018-01-31 09:442018-03-07 13:48
aferraz 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR18Q2 
marvintm
No
0037787: Cancel layaway process is creating a negative order with not rounded tax base
Cancel layaway process is creating a negative order with not rounded tax base
Create a layaway with 1 quantity of Avalanche transceiver.
Open layaway and cancel it.
Check in database taxes created for cancel order are not rounded with currency standard precision:

select ot.line, ot.taxbaseamt, ot.taxamt
from c_order o
join c_ordertax ot
on o.c_order_id = ot.c_order_id
where o.documentno = 'VBS1001/0000001*R*';

10 -124.38016528925619834710743801652892561983471074380165 -26.12
No tags attached.
Issue History
2018-01-31 09:44aferrazNew Issue
2018-01-31 09:44aferrazAssigned To => Retail
2018-01-31 09:44aferrazTriggers an Emergency Pack => No
2018-02-08 15:59ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-02-08 15:59ranjith_qualiantech_comStatusnew => scheduled
2018-02-27 09:14hgbotCheckin
2018-02-27 09:14hgbotNote Added: 0102844
2018-02-27 09:15hgbotCheckin
2018-02-27 09:15hgbotNote Added: 0102845
2018-02-27 09:15ranjith_qualiantech_comStatusscheduled => resolved
2018-02-27 09:15ranjith_qualiantech_comResolutionopen => fixed
2018-03-02 21:18hudsonbotCheckin
2018-03-02 21:18hudsonbotNote Added: 0102953
2018-03-07 13:48marvintmReview Assigned To => marvintm
2018-03-07 13:48marvintmStatusresolved => closed
2018-03-07 13:48marvintmFixed in Version => RR18Q2

Notes
(0102844)
hgbot   
2018-02-27 09:14   
Repository: erp/devel/pi
Changeset: caae324d80d052573ddee62e14f1a8278ed1c72e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 27 13:43:46 2018 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/caae324d80d052573ddee62e14f1a8278ed1c72e [^]

Related to issue 37787 : Rounding tax while completing cancel layaway

---
M src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
---
(0102845)
hgbot   
2018-02-27 09:15   
Repository: tools/automation/pi-mobile
Changeset: 87192d4925554480ad95235c6fc5d613fd45175f
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 27 13:44:41 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/87192d4925554480ad95235c6fc5d613fd45175f [^]

Verifies issue 37787 : Added automated test 'I37787_VerfiyLayawayTaxAmount'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I37787_VerfiyLayawayTaxAmount.java
---
(0102953)
hudsonbot   
2018-03-02 21:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/05dece3dc80b [^]
Maturity status: Test