Openbravo Issue Tracking System - Retail Modules | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0043464 | Retail Modules | Discounts and Promotions | public | 2020-03-10 11:33 | 2020-04-15 14:33 | |||||||
| Reporter | Leyre | |||||||||||
| Assigned To | prakashmurugesan88 | |||||||||||
| 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 | Gold | |||||||||||
| Support ticket | 14953 | |||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0043464: "Line Total" is not calculated correctly when the discounts are added to a product with quantity with decimals. | |||||||||||
| Description | "Line Total" is not calculated correctly when the discounts are added to a product with quantity with decimals. | |||||||||||
| Steps To Reproduce | Backend: 1. Set the Preference "Web POS Use advanced discounts engine" = N 2. "Product" window -> for example "Alpine Poles" -> is Scale = true 3. In the "Channel Touchpoint" window: 3.1 Scale url = http://localhost:8090/scale [^] [^] 3.2 Hardware url = http://localhost:8090/printer [^] [^] 4. As system administrator, define the Unit of Measure of a product Standard Precision = 3, for example = EA (Unit of measure of "Alpine Poles" => Standard Precision = 3) 5. Define two discounts: Discount 1: Fixed Percentage Discount, discount % = 30, priority = 1 Discount 2: Fixed Percentage Discount, discount % = 100, priority = 10 Scale in POS Hardware Manager: 1. Current weight = for example 0.234 Web POS: 1. Add the product Alpine Poles (quantity 0.432 in the HWM - Scale) Verify this three errors: 1. The web pos shows two lines. 2. The quantity is 0.23 instead of 0.234. 3. The total receipt (even discount 2 is 100%) is 0.01. | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=14194&type=bug https://issues.openbravo.com/file_download.php?file_id=14270&type=bug | |||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2020-03-10 11:33 | Leyre | New Issue | ||||||||||
| 2020-03-10 11:33 | Leyre | Assigned To | => Retail | |||||||||
| 2020-03-10 11:33 | Leyre | File Added: bug_scale.png | ||||||||||
| 2020-03-10 11:33 | Leyre | OBNetwork customer | => Gold | |||||||||
| 2020-03-10 11:33 | Leyre | Support ticket | => 14953 | |||||||||
| 2020-03-10 11:33 | Leyre | Resolution time | => 1585605600 | |||||||||
| 2020-03-10 11:33 | Leyre | Triggers an Emergency Pack | => No | |||||||||
| 2020-03-10 11:33 | Leyre | Relationship added | related to 0043374 | |||||||||
| 2020-03-18 13:52 | rqueralta | Assigned To | Retail => rqueralta | |||||||||
| 2020-03-18 13:52 | rqueralta | Status | new => scheduled | |||||||||
| 2020-03-20 16:18 | guilleaer | Assigned To | rqueralta => Leyre | |||||||||
| 2020-03-20 16:18 | guilleaer | Status | scheduled => feedback | |||||||||
| 2020-03-23 16:09 | Leyre | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=20587#r20587 | |||||||||
| 2020-03-23 16:09 | Leyre | File Deleted: bug_scale.png | ||||||||||
| 2020-03-23 16:09 | Leyre | File Added: Screenshot from 2020-03-23 16-04-38.png | ||||||||||
| 2020-03-23 16:10 | Leyre | Resolution time | 1585605600 => 1586124000 | |||||||||
| 2020-03-23 16:10 | Leyre | Assigned To | Leyre => Retail | |||||||||
| 2020-03-23 16:10 | Leyre | Status | feedback => new | |||||||||
| 2020-03-23 17:12 | Leyre | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=20588#r20588 | |||||||||
| 2020-03-27 03:39 | rqueralta | Assigned To | Retail => rqueralta | |||||||||
| 2020-03-31 18:08 | rqueralta | File Added: 43464.diff | ||||||||||
| 2020-04-02 10:11 | guilleaer | Assigned To | rqueralta => Retail | |||||||||
| 2020-04-02 10:11 | guilleaer | Status | new => scheduled | |||||||||
| 2020-04-02 10:23 | prakashmurugesan88 | Assigned To | Retail => prakashmurugesan88 | |||||||||
| 2020-04-02 13:05 | prakashmurugesan88 | Note Added: 0118920 | ||||||||||
| 2020-04-04 10:47 | prakashmurugesan88 | File Added: I43464_DiscountsOnProductQtyInDecimals.patch | ||||||||||
| 2020-04-06 08:57 | guilleaer | File Deleted: 43464.diff | ||||||||||
| 2020-04-08 07:28 | hgbot | Checkin | ||||||||||
| 2020-04-08 07:28 | hgbot | Note Added: 0119078 | ||||||||||
| 2020-04-08 07:28 | hgbot | Status | scheduled => resolved | |||||||||
| 2020-04-08 07:28 | hgbot | Resolution | open => fixed | |||||||||
| 2020-04-08 07:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c2e71fbb016d7695f29948f35c4011b8895c447 [^] | |||||||||
| 2020-04-15 14:33 | migueldejuana | Review Assigned To | => migueldejuana | |||||||||
| 2020-04-15 14:33 | migueldejuana | Note Added: 0119186 | ||||||||||
| 2020-04-15 14:33 | migueldejuana | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||