Openbravo Issue Tracking System - POS2
View Issue Details
0054713POS2Corepublic2024-02-19 11:052024-02-20 09:21
lorenzofidalgo 
AugustoMauch 
immediatemajoralways
closedfixed 
5
main 
24Q1 
Packaging and release
main
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/f38f5a036d4dff9b3e9f5f7083a2c0d25ab6b0e6 [^]
No
0054713: [24Q1] Sales Order Line value is not present in Return From Customer || Approval History under specific flow
When doing an approval of an action that does not have any user action inputs, the Sales Order Line is not being persisted in the backend.
The 54669 issue (https://issues.openbravo.com/view.php?id=54669 [^]) fixed partially the regression, but Sales Order Line is also missing and not being persisted in that concrete flow.
In any POS2 enviroment that contains the sampledata (i.e. livebuilds)
1- In the backoffice, update permissions to the VallBlancaUser role, so that it requires approval when executing the "Return Line" action.
2- In the backoffice, update permissions to the The White Valley Group Admin role, so that it can approve the "Return Line" action
3- Log in in the POS with the vallblanca user, make sure the VallBlancaUser role is active
4- Add a line and return it. A popup will be displayed asking for user inputs and approval. Add them (use Openbravo/openbravo in the approval), complete the ticket.
5- Go to the backend, open the Return from Customer window, check the record that was created and check that the Approval History subtab contains info related to the approval that just took place.

So far, this is the expected behaviour. Now:
6- In the backoffice, deactivate all user inputs from the Return Line action in the User Action Input window.
7- Back in POS2, refresh the masterdata so that the changes done in the backoffice are applied. Repeat steps 4 and 5, and notice how in the new Return from Customer record there is no trace about the Sales Order Line value.
No tags attached.
blocks defect 0054699 closed AugustoMauch [24Q1] Sales Order Line value is not present in Return From Customer || Approval History under specific flow 
Issue History
2024-02-19 15:11AugustoMauchTypedefect => backport
2024-02-19 15:11AugustoMauchTarget Version => 24Q1
2024-02-20 09:20hgbotNote Added: 0160965
2024-02-20 09:20hgbotNote Added: 0160966
2024-02-20 09:21AugustoMauchStatusscheduled => resolved
2024-02-20 09:21AugustoMauchResolutionopen => fixed
2024-02-20 09:21AugustoMauchStatusresolved => closed

Notes
(0160965)
hgbot   
2024-02-20 09:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1376 [^]
(0160966)
hgbot   
2024-02-20 09:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1376 [^]