Openbravo Issue Tracking System - Retail Modules | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0033734 | Retail Modules | Discounts and Promotions | public | 2016-08-18 08:44 | 2016-09-01 16:03 | |||||||
| Reporter | aaroncalero | |||||||||||
| Assigned To | jorge-garcia | |||||||||||
| Priority | high | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | migueldejuana | |||||||||||
| OBNetwork customer | OBPS | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0033734: [SERQA 1601]Total of the ticket is wrongly calculated due to the rounding of discounts | |||||||||||
| Description | When a line in web pos has a discount applied, and this discount has been rounded up (e.g. from 3.375 to 3.38), the total of the ticket is wrongly calculated. | |||||||||||
| Steps To Reproduce | Login in the erp (e.g. https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]), White valley group admin role, and define the following discount: Org: * Type: Price Adjustment Name: Sun Cream 27% Starting Date: 1/1/2016 Included Products: Only those defined Discount %: 27 Leave the rest of the fields as default. On the Products subtab, add the 'Sun cream + lip stick' product. Login in web pos (terminal: VBS-1), create an empty ticket and add a Sun cream + lip stick. The ticket will look as follows: One line, Sun cream + lip stick; 1 unit; 12.50 total -- Applied discount: Sun Cream 27%, amount: -3.38 (rounded up from 3.375) Total of the ticket: 9.13 The ticket total should have been 12.50 - 3.38 = 9.12 and it is not. | |||||||||||
| Proposed Solution | The total amount of the ticket should be calculated taking into account the rounded amounts of the discounts. | |||||||||||
| Additional Information | ||||||||||||
| Tags | SER-QA | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=9726&type=bug https://issues.openbravo.com/file_download.php?file_id=9727&type=bug | |||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2016-08-18 08:44 | aaroncalero | New Issue | ||||||||||
| 2016-08-18 08:44 | aaroncalero | Assigned To | => Retail | |||||||||
| 2016-08-18 08:44 | aaroncalero | OBNetwork customer | => No | |||||||||
| 2016-08-18 08:44 | aaroncalero | Triggers an Emergency Pack | => No | |||||||||
| 2016-08-18 08:48 | aaroncalero | OBNetwork customer | No => Yes | |||||||||
| 2016-08-18 08:48 | aaroncalero | Resolution time | => 1472680800 | |||||||||
| 2016-08-18 08:48 | aaroncalero | Summary | Total of the ticket is wrongly calculated due to the rounding of discounts => [SERQA 1601]Total of the ticket is wrongly calculated due to the rounding of discounts | |||||||||
| 2016-08-18 08:48 | aaroncalero | Tag Attached: SER-QA | ||||||||||
| 2016-08-18 08:50 | aaroncalero | File Added: discount.png | ||||||||||
| 2016-08-18 08:50 | aaroncalero | File Added: pos.png | ||||||||||
| 2016-08-22 14:44 | jorge-garcia | Status | new => scheduled | |||||||||
| 2016-08-22 14:44 | jorge-garcia | Assigned To | Retail => jorge-garcia | |||||||||
| 2016-08-25 08:11 | hgbot | Checkin | ||||||||||
| 2016-08-25 08:11 | hgbot | Note Added: 0089373 | ||||||||||
| 2016-08-25 08:11 | hgbot | Checkin | ||||||||||
| 2016-08-25 08:11 | hgbot | Note Added: 0089374 | ||||||||||
| 2016-08-25 08:12 | hgbot | Checkin | ||||||||||
| 2016-08-25 08:12 | hgbot | Note Added: 0089375 | ||||||||||
| 2016-08-25 08:12 | hgbot | Status | scheduled => resolved | |||||||||
| 2016-08-25 08:12 | hgbot | Resolution | open => fixed | |||||||||
| 2016-08-25 08:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/94dca5a2d2faa9390d578f061ce048616aa03514 [^] | |||||||||
| 2016-09-01 16:03 | migueldejuana | Review Assigned To | => migueldejuana | |||||||||
| 2016-09-01 16:03 | migueldejuana | Note Added: 0089670 | ||||||||||
| 2016-09-01 16:03 | migueldejuana | Status | resolved => closed | |||||||||
| 2017-06-26 10:44 | dmitry_mezentsev | Relationship added | causes 0036003 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||