Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049383 | Retail Modules | Retail API | public | 2022-05-24 07:57 | 2022-06-23 08:46 |
|
Reporter | marvintm | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR22Q3 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0049383: Push API doesn't work for "Cancel Layaway/Order" flow |
Description | Currently the Push API integration is working correctly for normal orders or returns, and also the Cancel and Replace flow.
However, it does not work for the Cancel Layaway flow. The cancelation order is not synchronized. |
Steps To Reproduce | - Configure the Push API functionality, using https://webhook.site [^]
http://wiki.openbravo.com/wiki/Push_API [^]
https://simonfredsted.com/1583 [^]
- Create a layaway from POS. Realise that the layaway was correctly synchronized to webhook.site
- Open the layaway from POS. Select "Cancel this layaway" and complete it. Realise that the cancelation layaway was not synchronized to webhook.site. |
Proposed Solution | The problem is that in the Cancel Layaway flow, the hooks are not being executed. A potential fix that can be analysed would be to replace the following line in OrderLoader:
CancelAndReplaceUtils.cancelOrder(jsonorder.getString("orderid"),
by
order = CancelAndReplaceUtils.cancelOrder(jsonorder.getString("orderid"),
Then, it is also necessary to fix the "cancelOrder" method in CancelAndReplaceUtils to ensure that the cancelation order is returned.
If this fix is done, then it is also necessary to review the OrderLoaderEventsHook as it will be synchronizing the cancelation ticket twice with the current implementation, which we don't want.
|
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0049260 | | closed | ranjith_qualiantech_com | The delivered quantity is incorrect for a cancelled layaway |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-05-24 07:57 | marvintm | New Issue | |
2022-05-24 07:57 | marvintm | Assigned To | => Triage Platform Conn |
2022-05-24 07:57 | marvintm | OBNetwork customer | => No |
2022-05-24 07:57 | marvintm | Triggers an Emergency Pack | => No |
2022-05-24 07:57 | marvintm | Assigned To | Triage Platform Conn => Retail |
2022-05-24 07:57 | marvintm | Relationship added | related to 0049260 |
2022-05-26 06:52 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2022-05-26 06:52 | ranjith_qualiantech_com | Status | new => scheduled |
2022-05-31 10:00 | hgbot | Merge Request Status | => open |
2022-05-31 10:00 | hgbot | Note Added: 0137868 | |
2022-05-31 10:00 | hgbot | Note Added: 0137869 | |
2022-05-31 10:00 | hgbot | Note Added: 0137870 | |
2022-06-23 08:46 | hgbot | Merge Request Status | open => approved |
2022-06-23 08:46 | hgbot | Resolution | open => fixed |
2022-06-23 08:46 | hgbot | Status | scheduled => closed |
2022-06-23 08:46 | hgbot | Fixed in Version | => RR22Q3 |
2022-06-23 08:46 | hgbot | Note Added: 0138668 | |
2022-06-23 08:46 | hgbot | Note Added: 0138669 | |
2022-06-23 08:46 | hgbot | Note Added: 0138670 | |
2022-06-23 08:46 | hgbot | Note Added: 0138671 | |
2022-06-23 08:46 | hgbot | Note Added: 0138672 | |
2022-06-23 08:46 | hgbot | Note Added: 0138673 | |
Notes |
|
(0137868)
|
hgbot
|
2022-05-31 10:00
|
|
|
|
(0137869)
|
hgbot
|
2022-05-31 10:00
|
|
|
|
(0137870)
|
hgbot
|
2022-05-31 10:00
|
|
|
|
(0138668)
|
hgbot
|
2022-06-23 08:46
|
|
|
|
(0138669)
|
hgbot
|
2022-06-23 08:46
|
|
|
|
(0138670)
|
hgbot
|
2022-06-23 08:46
|
|
|
|
(0138671)
|
hgbot
|
2022-06-23 08:46
|
|
|
|
(0138672)
|
hgbot
|
2022-06-23 08:46
|
|
|
|
(0138673)
|
hgbot
|
2022-06-23 08:46
|
|
|