Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0044339 | Retail Modules | Web POS | public | 2020-06-10 18:17 | 2020-06-15 08:30 | ||||||||||||||
| Reporter | aferraz | ||||||||||||||||||
| Assigned To | aferraz | ||||||||||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||
| Product Version | |||||||||||||||||||
| Target Version | Fixed in Version | RR20Q3 | |||||||||||||||||
| Merge Request Status | |||||||||||||||||||
| Review Assigned To | marvintm | ||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||
| Support ticket | |||||||||||||||||||
| Regression level | |||||||||||||||||||
| Regression date | |||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||
| Summary | 0044339: Use same API in Discount and Tax engine output - Discount engine changes | ||||||||||||||||||
| Description | Use same Ticket API in Discount and Tax engine output | ||||||||||||||||||
| Steps To Reproduce | * | ||||||||||||||||||
| Proposed Solution | Current Discount engine output is as follows: { "lines": { "BBC8BD559F1F6830AF7998A180F8D9DA": { "discounts": { "grossUnitAmount": 261.81, "grossUnitPrice": 261.81, "promotions": [ { "ruleId": "C26B841C84B14FE2AB1A334DD3672E87", "discountType": "697A7AB9FD9C4EE0A3E891D3D3CCA0A7", "name": "GPS_10_per", "applyNext": true, "amt": 29.09, "qtyOffer": 1 } ] } } } } Change it so it is similar to Tax engine output and Ticket API: { "lines": [ { "id": "0A19E6B3EC1422CDD0139E5BD0AB2FC1", "grossUnitAmount": 261.81, "grossUnitPrice": 261.81, "discounts": [ { "ruleId": "C26B841C84B14FE2AB1A334DD3672E87", "discountType": "697A7AB9FD9C4EE0A3E891D3D3CCA0A7", "name": "GPS_10_per", "applyNext": true, "amt": 29.09, "qtyOffer": 1 } ] } ] } Add also discountengine namespace when running the engine from graal/node/webservice: { "ticket": { "discountengine": { "lines": [ { "id": "0A19E6B3EC1422CDD0139E5BD0AB2FC1", "grossUnitAmount": 261.81, "grossUnitPrice": 261.81, "discounts": [...] } ] } } } | ||||||||||||||||||
| Additional Information | |||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||
| Relationships |
| ||||||||||||||||||
| Attached Files | |||||||||||||||||||
| Issue History | |||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||
| 2020-06-10 18:17 | aferraz | New Issue | |||||||||||||||||
| 2020-06-10 18:17 | aferraz | Assigned To | => aferraz | ||||||||||||||||
| 2020-06-10 18:17 | aferraz | OBNetwork customer | => No | ||||||||||||||||
| 2020-06-10 18:17 | aferraz | Triggers an Emergency Pack | => No | ||||||||||||||||
| 2020-06-10 18:17 | aferraz | Issue generated from | 0044181 | ||||||||||||||||
| 2020-06-10 18:17 | aferraz | Relationship added | related to 0044181 | ||||||||||||||||
| 2020-06-10 18:21 | aferraz | Issue cloned | 0044340 | ||||||||||||||||
| 2020-06-10 18:22 | aferraz | Relationship added | related to 0044340 | ||||||||||||||||
| 2020-06-12 08:42 | hgbot | Checkin | |||||||||||||||||
| 2020-06-12 08:42 | hgbot | Note Added: 0120808 | |||||||||||||||||
| 2020-06-12 08:49 | aferraz | Proposed Solution updated | |||||||||||||||||
| 2020-06-12 08:52 | hgbot | Checkin | |||||||||||||||||
| 2020-06-12 08:52 | hgbot | Note Added: 0120811 | |||||||||||||||||
| 2020-06-12 08:53 | hgbot | Checkin | |||||||||||||||||
| 2020-06-12 08:53 | hgbot | Note Added: 0120812 | |||||||||||||||||
| 2020-06-12 09:08 | hgbot | Checkin | |||||||||||||||||
| 2020-06-12 09:08 | hgbot | Note Added: 0120817 | |||||||||||||||||
| 2020-06-12 09:29 | aferraz | Proposed Solution updated | |||||||||||||||||
| 2020-06-12 09:45 | hgbot | Checkin | |||||||||||||||||
| 2020-06-12 09:45 | hgbot | Note Added: 0120819 | |||||||||||||||||
| 2020-06-12 09:52 | aferraz | Status | new => scheduled | ||||||||||||||||
| 2020-06-12 09:52 | aferraz | Status | scheduled => resolved | ||||||||||||||||
| 2020-06-12 09:52 | aferraz | Fixed in Version | => RR20Q3 | ||||||||||||||||
| 2020-06-12 09:52 | aferraz | Resolution | open => fixed | ||||||||||||||||
| 2020-06-15 08:30 | marvintm | Review Assigned To | => marvintm | ||||||||||||||||
| 2020-06-15 08:30 | marvintm | Status | resolved => closed | ||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||