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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033835
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2016-08-03 12:562016-09-01 08:46
ReportermalsasuaView Statuspublic 
Assigned Tomigueldejuana 
PriorityimmediateResolutionfixedFixed in VersionRR16Q3.1
StatusclosedFix in branchFixed in SCM revisione9968782596a
ProjectionnoneETAnoneTarget VersionRR16Q3.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression levelProduction - Confirmed Stable
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033835: wrong "net unit price" with tax include taxes and price precision 6

Descriptionwhen the pricelist is configured with price include taxes, the tax is set as "Document based amount by rate" in "Document based amount by rate" field, the price precision is 6, POS precision 2, then the "net unit price" calculated in sales order line is wrong.

For this reason, the invoice created by cashup is set as not paid, with outstanding amount 0.01$


Steps To Reproducein backoffice:
. price list version: "The White Valley Group Sale Price List Version"
  . product Alpine Poles: unit price and list price: 117
  . product Alpine Ski Boot: unit price and list price: 117
. as system administrator, go to Currency window:
 . currency EUR: price precision: 6
                 POS precision: 2

in POS
. new receipt:
 . Alpine Poles: 1 unit
 . Alpine Ski Poles: 3 units
. pay it
. do cashup

in backoffice:

. go to sales invoice window, invoice created by cashup
>>>Error: invoice is set as payment complete: No, outstanding amt 0.01, total gross amount is wrong.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0033611 closedmigueldejuana wrong "net unit price" with tax include taxes and price precision 6 

-  Notes
(0089526)
hgbot (developer)
2016-08-30 08:50

Repository: retail/backports/3.0RR16Q3.1/org.openbravo.retail.posterminal
Changeset: e9968782596ac900ed7fc1e4838d0affa075b050
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Aug 30 08:49:48 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.1/org.openbravo.retail.posterminal/rev/e9968782596ac900ed7fc1e4838d0affa075b050 [^]

Fixed issue 33835: wrong "net unit price" with tax include taxes and price precision 6

- If totalines + totalTaxAmount != grandTotalAmount we have to adjust taxes so we choose the tax with more amount to adjust the invoice

---
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor.java
---
(0089527)
hgbot (developer)
2016-08-30 08:53

Repository: retail/backports/3.0RR16Q3.1/pi-mobile
Changeset: 2e84ade816b0b69a66c0c206620afbd3f1ae222c
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Aug 30 08:53:01 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.1/pi-mobile/rev/2e84ade816b0b69a66c0c206620afbd3f1ae222c [^]

Related to issue 33835: Add tests

---
M src-test/org/openbravo/test/mobile/common/selenium/database/WebPOSDatabaseHelper.java
M src-test/org/openbravo/test/mobile/common/selenium/database/rows/InvoiceLinesOfDocumentnoRow.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I33695_CashupInvoiceTaxPrecision.java
---
(0089632)
hgbot (developer)
2016-09-01 08:46

Repository: tools/automation/pi-mobile
Changeset: 2e84ade816b0b69a66c0c206620afbd3f1ae222c
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Aug 30 08:53:01 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2e84ade816b0b69a66c0c206620afbd3f1ae222c [^]

Related to issue 33835: Add tests

---
M src-test/org/openbravo/test/mobile/common/selenium/database/WebPOSDatabaseHelper.java
M src-test/org/openbravo/test/mobile/common/selenium/database/rows/InvoiceLinesOfDocumentnoRow.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I33695_CashupInvoiceTaxPrecision.java
---

- Issue History
Date Modified Username Field Change
2016-08-29 10:30 migueldejuana Type defect => backport
2016-08-29 10:30 migueldejuana Target Version => RR16Q3.1
2016-08-30 08:50 hgbot Checkin
2016-08-30 08:50 hgbot Note Added: 0089526
2016-08-30 08:50 hgbot Status scheduled => resolved
2016-08-30 08:50 hgbot Resolution open => fixed
2016-08-30 08:50 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q3.1/org.openbravo.retail.posterminal/rev/e9968782596ac900ed7fc1e4838d0affa075b050 [^]
2016-08-30 08:53 hgbot Checkin
2016-08-30 08:53 hgbot Note Added: 0089527
2016-08-30 09:06 guilleaer Review Assigned To adrianromero => guilleaer
2016-08-30 09:06 guilleaer Status resolved => closed
2016-08-30 09:06 guilleaer Fixed in Version => RR16Q3.1
2016-08-31 12:22 lorenzofidalgo Steps to Reproduce Updated View Revisions
2016-09-01 08:46 hgbot Checkin
2016-09-01 08:46 hgbot Note Added: 0089632


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker