Openbravo Issue Tracking System - Retail Modules | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0044340 | Retail Modules | Web POS | public | 2020-06-10 18:21 | 2020-06-15 08:31 | |||||||||||||||||||||
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 | 0044340: Use same API in Discount and Tax engine output - Tax engine changes | |||||||||||||||||||||||||
Description | Use same Ticket API in Discount and Tax engine output | |||||||||||||||||||||||||
Steps To Reproduce | * | |||||||||||||||||||||||||
Proposed Solution | Current Tax engine output is as follows: { "header": { "id": null, "grossAmount": 261.81, "netAmount": 216.37, "taxes": [ { "base": 216.37, "amount": 45.44, "tax": { "id": "5235D8E99A2749EFA17A5C92A52AEFC6", ... } } ] }, "lines": [ { "id": "BBC8BD559F1F6830AF7998A180F8D9DA", "grossUnitAmount": 261.81, "netUnitAmount": 216.37, "grossUnitPrice": 261.81, "netUnitPrice": 216.37, "qty": 1, "tax": "5235D8E99A2749EFA17A5C92A52AEFC6", "taxRate": 1.21, "taxes": [ { "base": 216.37, "amount": 45.44, "tax": { "id": "5235D8E99A2749EFA17A5C92A52AEFC6", ... } } ] } ] } Remove header property so it is similar to Ticket API: { "id": null, "grossAmount": 261.81, "netAmount": 216.37, "taxes": [ { "base": 216.37, "amount": 45.44, "tax": { "id": "5235D8E99A2749EFA17A5C92A52AEFC6", ... } } ], "lines": [ { "id": "BBC8BD559F1F6830AF7998A180F8D9DA", "grossUnitAmount": 261.81, "netUnitAmount": 216.37, "grossUnitPrice": 261.81, "netUnitPrice": 216.37, "qty": 1, "tax": "5235D8E99A2749EFA17A5C92A52AEFC6", "taxRate": 1.21, "taxes": [ { "base": 216.37, "amount": 45.44, "tax": { "id": "5235D8E99A2749EFA17A5C92A52AEFC6", ... } } ] } ] } Add also taxengine namespace when running the engine from graal/node/webservice: { "ticket": { "taxengine": { "grossAmount": 261.81, "netAmount": 216.37, "taxes": [...], "lines": [ { "id": "BBC8BD559F1F6830AF7998A180F8D9DA", "grossUnitAmount": 261.81, "netUnitAmount": 216.37, "grossUnitPrice": 261.81, "netUnitPrice": 216.37, "qty": 1, "tax": "5235D8E99A2749EFA17A5C92A52AEFC6", "taxRate": 1.21, "taxes": [...] } ] } } } | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2020-06-10 18:21 | aferraz | New Issue | ||||||||||||||||||||||||
2020-06-10 18:21 | aferraz | Assigned To | => aferraz | |||||||||||||||||||||||
2020-06-10 18:21 | aferraz | OBNetwork customer | => No | |||||||||||||||||||||||
2020-06-10 18:21 | aferraz | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2020-06-10 18:21 | aferraz | Issue generated from | 0044339 | |||||||||||||||||||||||
2020-06-10 18:21 | aferraz | Relationship added | related to 0044156 | |||||||||||||||||||||||
2020-06-10 18:21 | aferraz | Relationship added | related to 0044181 | |||||||||||||||||||||||
2020-06-10 18:22 | aferraz | Relationship added | related to 0044339 | |||||||||||||||||||||||
2020-06-12 08:44 | hgbot | Checkin | ||||||||||||||||||||||||
2020-06-12 08:44 | hgbot | Note Added: 0120809 | ||||||||||||||||||||||||
2020-06-12 08:47 | aferraz | Note Added: 0120810 | ||||||||||||||||||||||||
2020-06-12 08:48 | aferraz | Note Deleted: 0120810 | ||||||||||||||||||||||||
2020-06-12 08:50 | aferraz | Proposed Solution updated | ||||||||||||||||||||||||
2020-06-12 08:55 | hgbot | Checkin | ||||||||||||||||||||||||
2020-06-12 08:55 | hgbot | Note Added: 0120814 | ||||||||||||||||||||||||
2020-06-12 08:57 | hgbot | Checkin | ||||||||||||||||||||||||
2020-06-12 08:57 | hgbot | Note Added: 0120815 | ||||||||||||||||||||||||
2020-06-12 09:22 | aferraz | Proposed Solution updated | ||||||||||||||||||||||||
2020-06-12 09:53 | aferraz | Status | new => scheduled | |||||||||||||||||||||||
2020-06-12 09:53 | aferraz | Status | scheduled => resolved | |||||||||||||||||||||||
2020-06-12 09:53 | aferraz | Fixed in Version | => RR20Q3 | |||||||||||||||||||||||
2020-06-12 09:53 | aferraz | Resolution | open => fixed | |||||||||||||||||||||||
2020-06-15 08:31 | marvintm | Review Assigned To | => marvintm | |||||||||||||||||||||||
2020-06-15 08:31 | marvintm | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|