Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039479
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2018-10-18 13:032018-11-13 07:42
ReporterLeyreView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR19Q1
StatusclosedFix in branchFixed in SCM revision0b491f2d2a66
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0039479: Incorrect calculation of "net" field.

DescriptionIncorrect calculation of "net" field.
Steps To ReproducePOS:

1. Generate a new receipt:
   1.1. Insert the product "Wilderness wash 100 ml" = 3.9€
   1.2 Change the price to 3000€
   1.3 Return the line.
   1.4 Insert 12 units of the product "All mountain ski board Cham" = 245.5 € x 12 = 2946 €
   1.5 Insert the product "Battery charger" = 32.50€
   1.6 Change the price to 54€.

*** Verify that the total price is -3000 + 2946 + 54 = 0€

2. Finish the operation

BACKEND:

1. Open "Data Import Entries" window.

2. Select the register of the previous operation

3. Look at the JSON info that the "net" field = -1.0658141036401503E-13 instead of 0.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0107562)
hgbot (developer)
2018-10-25 09:12

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0b491f2d2a66cd90fd8ee359e2b52621a094bbb6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Oct 25 12:42:29 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0b491f2d2a66cd90fd8ee359e2b52621a094bbb6 [^]

Fixed issue 39479 : Changes in ordertax net calculation

* replaced addition with OB.DEC.add

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0107797)
marvintm (manager)
2018-11-08 11:04

Automated test will be added later
(0107867)
hgbot (developer)
2018-11-13 07:42

Repository: tools/automation/pi-mobile
Changeset: 943058f88f650b4d8658cdb0f57ae08c236f96a3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Nov 13 12:12:17 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/943058f88f650b4d8658cdb0f57ae08c236f96a3 [^]

Verifies issue 39479 : Added Automated Test 'I39479_VerifyTaxWithZeroTotal'

---
M src-test/org/openbravo/test/mobile/retail/pack/database/WebPOSDatabaseHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I39479_VerifyTaxWithZeroTotal.java
---

- Issue History
Date Modified Username Field Change
2018-10-18 13:03 Leyre New Issue
2018-10-18 13:03 Leyre Assigned To => Retail
2018-10-18 13:03 Leyre Resolution time => 1541631600
2018-10-18 13:03 Leyre Triggers an Emergency Pack => No
2018-10-19 13:18 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-10-25 08:07 ranjith_qualiantech_com Status new => scheduled
2018-10-25 09:12 hgbot Checkin
2018-10-25 09:12 hgbot Note Added: 0107562
2018-10-25 09:12 hgbot Status scheduled => resolved
2018-10-25 09:12 hgbot Resolution open => fixed
2018-10-25 09:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0b491f2d2a66cd90fd8ee359e2b52621a094bbb6 [^]
2018-11-08 11:04 marvintm Review Assigned To => marvintm
2018-11-08 11:04 marvintm Note Added: 0107797
2018-11-08 11:04 marvintm Status resolved => closed
2018-11-08 11:04 marvintm Fixed in Version => RR19Q1
2018-11-13 07:42 hgbot Checkin
2018-11-13 07:42 hgbot Note Added: 0107867


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker