Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0054352 | Retail Modules | Retail API | public | 2024-01-16 08:39 | 2024-04-09 15:33 |
|
Reporter | vmromanos | |
Assigned To | vmromanos | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR24Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | Production - QA Approved |
Regression date | 2023-07-04 |
Regression introduced in release | RR23Q4 |
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/fb7f20945b879d9c51a84eb565d856803cb4ce07 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0054352: Distribution Order API wrongly depends on AWO module - OBDOAPI_UpdateDOQuant is replaced by the OBDOAPI_UpdateDOQuantities event |
Description | Distribution Order API module shouldn't depend on AWO, as a Distribution Order might work also outside AWO.
In 0052774 this dependency was wrongly entered to introduce a new event OBDOAPI_SendDOAfterGroupConfirmation, which doesn't actually tackle the root cause of 0052774. |
Steps To Reproduce | Try to install Distribution Order API without AWO.
A compilation error appears due to dependency to class PostConfirmGroupOfTasksHook |
Proposed Solution | 1. Revert https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/fb7f20945b879d9c51a84eb565d856803cb4ce07 [^]
This represents an API change, as we are removing the OBDOAPI_SendDOAfterGroupConfirmation event, but we should manage it right now.
2. Fix the code to make sure the "Update Distribution Order quantities through goods movement" is executed just one time per Distribution Order
3. Talk to the customer using the OBDOAPI_SendDOAfterGroupConfirmation event and coordinate it with him to use again the "Update Distribution Order quantities through goods movement" that should work fine after the fix |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | design defect | 0052774 | | closed | Triage Omni WMS | Retail Modules | [RM-7065] API event" Update Distribution Order quantities through goods movement" is sending the DO as many times as #lines | causes | defect | 0056403 | | closed | Sandrahuguet | Openbravo ERP | Change in the event 'Update Distribution Order quantities through goods movement' causes regression |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-01-16 08:39 | vmromanos | New Issue | |
2024-01-16 08:39 | vmromanos | Assigned To | => vmromanos |
2024-01-16 08:39 | vmromanos | Regression level | => Production - QA Approved |
2024-01-16 08:39 | vmromanos | Regression date | => 2023-07-04 |
2024-01-16 08:39 | vmromanos | Regression introduced in release | => RR23Q4 |
2024-01-16 08:39 | vmromanos | Triggers an Emergency Pack | => No |
2024-01-16 08:40 | vmromanos | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/fb7f20945b879d9c51a84eb565d856803cb4ce07 [^] |
2024-01-16 08:40 | vmromanos | Relationship added | caused by 0052774 |
2024-01-16 09:15 | vmromanos | Status | new => scheduled |
2024-01-16 10:44 | vmromanos | Note Added: 0159356 | |
2024-01-16 10:45 | hgbot | Note Added: 0159357 | |
2024-01-16 10:46 | hgbot | Note Added: 0159358 | |
2024-01-16 10:47 | hgbot | Note Added: 0159359 | |
2024-01-16 10:48 | hgbot | Note Added: 0159360 | |
2024-01-23 22:33 | axelmercado | Issue Monitored: axelmercado | |
2024-03-28 08:36 | mtaal | Note Added: 0162735 | |
2024-03-28 08:50 | hgbot | Note Added: 0162736 | |
2024-03-28 08:50 | hgbot | Resolution | open => fixed |
2024-03-28 08:50 | hgbot | Status | scheduled => closed |
2024-03-28 08:50 | hgbot | Note Added: 0162737 | |
2024-03-28 08:50 | hgbot | Note Added: 0162738 | |
2024-03-28 08:50 | hgbot | Note Added: 0162739 | |
2024-03-28 08:51 | hgbot | Note Added: 0162740 | |
2024-03-28 08:51 | hgbot | Note Added: 0162741 | |
2024-03-28 08:53 | hgbot | Note Added: 0162742 | |
2024-03-28 08:53 | hgbot | Note Added: 0162743 | |
2024-03-28 09:12 | mtaal | Note Added: 0162744 | |
2024-04-09 15:32 | mtaal | Fixed in Version | => RR24Q2 |
2024-04-09 15:33 | mtaal | Summary | Distribution Order API wrongly depends on AWO module => Distribution Order API wrongly depends on AWO module - OBDOAPI_UpdateDOQuant is replaced by the OBDOAPI_UpdateDOQuantities event |
2024-09-06 13:47 | avicente | Relationship added | causes 0056403 |
Notes |
|
|
Test plan:
Preconfiguration:
Create a event subscription to "Update Distribution Order quantities through goods movement" The external system can be https://webhook.site/ [^]
A) Group of Task confirmation
In AWO backend :
1. Create a DOi with two lines
2. Pick the lines
3. Confirm the picking list
4. Create the Issue
5. Confirm the Issue List as a group. Check the event is launched just one time.
6. Go to the DOr and create the Reception.
7. Confirm the Reception List as a group. Check the event is launched just one time.
B) Individual Task confirmation
In AWO backend :
1. Create a DOi with two lines
2. Pick the lines
3. Confirm the picking list
4. Create the Issue
5. Confirm the just one task. Check the event is launched just one time with the "issuedQuantity" modified
6. Go to the DOr and create the Reception.
7. Confirm the task. Check the event is launched just one time with the "receivedQuantity" modified |
|
|
(0159357)
|
hgbot
|
2024-01-16 10:45
|
|
|
|
(0159358)
|
hgbot
|
2024-01-16 10:46
|
|
|
|
(0159359)
|
hgbot
|
2024-01-16 10:47
|
|
|
|
(0159360)
|
hgbot
|
2024-01-16 10:48
|
|
|
|
(0162735)
|
mtaal
|
2024-03-28 08:36
|
|
Test plan for the module script:
1) Before installing/using the new MRs, create event subscription using the event which will be removed in this change set (is event: Update Distribution Order after Group Confirmation)
2) Install the fixes in all 4 modules
3) Check that the event subscription has been moved to the event: Update Distribution Order quantities through goods movement |
|
|
(0162736)
|
hgbot
|
2024-03-28 08:50
|
|
|
|
(0162737)
|
hgbot
|
2024-03-28 08:50
|
|
|
|
(0162738)
|
hgbot
|
2024-03-28 08:50
|
|
|
|
(0162739)
|
hgbot
|
2024-03-28 08:50
|
|
|
|
(0162740)
|
hgbot
|
2024-03-28 08:51
|
|
|
|
(0162741)
|
hgbot
|
2024-03-28 08:51
|
|
|
|
(0162742)
|
hgbot
|
2024-03-28 08:53
|
|
|
|
(0162743)
|
hgbot
|
2024-03-28 08:53
|
|
|
|
(0162744)
|
mtaal
|
2024-03-28 09:12
|
|
|