Openbravo Issue Tracking System - POS2 | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0047673 | POS2 | Restaurants | public | 2021-09-10 14:28 | 2021-10-28 10:18 | ||||||||||||||
Reporter | timothee_catteeuw | ||||||||||||||||||
Assigned To | javierRodriguez | ||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | TAP | Fixed in Version | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | jorge-garcia | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0047673: JIRA 2304 - Proof of payment - rounding are not properly executed in some cases | ||||||||||||||||||
Description | At some point when you want to generate a proof of payment the split amount values are not correctly done. You can find several cases which allow to reproduce. There is an issue on how we distribute amount and/or taxes. | ||||||||||||||||||
Steps To Reproduce | Case 1 : On WebPOS (TAP version), select 2 different products with 1.95 € amount (let's say item A and item B). Both articles have the same tax (10%) --> Amount with tax 3.90, without taxes 3.55 and taxes are equals to 0.35 Currently what we do in OB in that case 1st proof of payment : 1.94 including 0.17 € 2nd proof of payment : 1.96 including 0.18 € The correct result has to be : 1st proof of payment : 1.95 including 0.17 € 2nd proof of payment : 1.95 including 0.18 € For information if I select item A twice for example, both proof of payment are OK. Case 2 : I put several articles in my basket with this configuration ITEM A amount without tax = 6.77, 10% tax = 0.68 €, amount by including tax 7.45 € ITEM B amount without tax = 1.63, 20% tax = 0.32 €, amount by including tax 1.95 € ITEM C amount without tax = 0.59, 10% tax = 0.06 €, amount by including tax 0.65 € ITEM D amount without tax = 0.91, 10% tax = 0.09 €, amount by including tax 1.00 € ITEM E amount without tax = 7.23, 10% tax = 0.72 €, amount by including tax 7.95 € If I split in 2 proof of payments, it necessary to manage amount like that : 1) Total amount = 9,50 € 10 % tax 0,78 € 20 % tax 0,16 € 2) Total amount = 9,50 € 10% tax 0,77 € 20% tax 0,16 € Nowadays we manage it in OB like that : 1) Total amount = 9,52 € 10 % tax 0,78 € 20 % tax 0,16 € 2) Total amount = 9,48 € 10% tax 0,77 € 20% tax 0,16 € | ||||||||||||||||||
Proposed Solution | Split correctly (in equal part) as much as possible. There will some cases when proof of payment amounts won'be equal (ex: 19.55 /2 = 9.77 and 9.78) | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2021-09-10 14:28 | timothee_catteeuw | New Issue | |||||||||||||||||
2021-09-10 14:28 | timothee_catteeuw | Assigned To | => Retail | ||||||||||||||||
2021-09-10 14:28 | timothee_catteeuw | Triggers an Emergency Pack | => No | ||||||||||||||||
2021-09-13 15:54 | dmiguelez | Status | new => scheduled | ||||||||||||||||
2021-09-13 16:09 | dmiguelez | Assigned To | Retail => jorge-garcia | ||||||||||||||||
2021-09-14 10:54 | jorge-garcia | Note Added: 0131766 | |||||||||||||||||
2021-09-14 11:12 | guilleaer | Summary | Proof of payment - rounding are not properly executed in some cases => JIRA 2304 - Proof of payment - rounding are not properly executed in some cases | ||||||||||||||||
2021-09-14 11:26 | guilleaer | Status | scheduled => feedback | ||||||||||||||||
2021-10-11 20:39 | guilleaer | Status | feedback => scheduled | ||||||||||||||||
2021-10-11 20:39 | guilleaer | Assigned To | jorge-garcia => javierRodriguez | ||||||||||||||||
2021-10-11 20:40 | guilleaer | Note Added: 0132300 | |||||||||||||||||
2021-10-15 12:34 | guilleaer | Relationship added | duplicate of 0047855 | ||||||||||||||||
2021-10-28 10:17 | guilleaer | Note Added: 0132700 | |||||||||||||||||
2021-10-28 10:17 | guilleaer | Status | scheduled => resolved | ||||||||||||||||
2021-10-28 10:17 | guilleaer | Resolution | open => fixed | ||||||||||||||||
2021-10-28 10:18 | guilleaer | Review Assigned To | => jorge-garcia | ||||||||||||||||
2021-10-28 10:18 | guilleaer | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|