Openbravo Issue Tracking System - POS2
View Issue Details
0054699POS2Corepublic2024-02-19 11:052024-02-23 14:43
lorenzofidalgo 
AugustoMauch 
immediatemajoralways
closedfixed 
5
main 
 
Packaging and release
main
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/f38f5a036d4dff9b3e9f5f7083a2c0d25ab6b0e6 [^]
No
0054699: [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.
related to defect 0054669 closed AugustoMauch Approvals of actions without inputs are not being persisted in the backend 
depends on backport 005471324Q1 closed AugustoMauch [24Q1] Sales Order Line value is not present in Return From Customer || Approval History under specific flow 
caused by feature request 0053576 closed Triage Platform Base User Action Inputs improvements 
png NotOK.png (84,627) 2024-02-19 11:08
https://issues.openbravo.com/file_download.php?file_id=19470&type=bug
png

png OK.png (85,022) 2024-02-19 11:09
https://issues.openbravo.com/file_download.php?file_id=19471&type=bug
png
Issue History
2024-02-19 11:05lorenzofidalgoNew Issue
2024-02-19 11:05lorenzofidalgoAssigned To => AugustoMauch
2024-02-19 11:05lorenzofidalgoRegression level => QA functional test
2024-02-19 11:05lorenzofidalgoRegression introduced in release => main
2024-02-19 11:05lorenzofidalgoRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/f38f5a036d4dff9b3e9f5f7083a2c0d25ab6b0e6 [^]
2024-02-19 11:05lorenzofidalgoTriggers an Emergency Pack => No
2024-02-19 11:05lorenzofidalgoIssue generated from0054669
2024-02-19 11:05lorenzofidalgoRelationship addedrelated to 0054669
2024-02-19 11:07lorenzofidalgoRelationship addedcaused by 0053576
2024-02-19 11:08lorenzofidalgoFile Added: NotOK.png
2024-02-19 11:09lorenzofidalgoFile Added: OK.png
2024-02-19 11:33lorenzofidalgoRegression levelQA functional test => Pre packaging ( pi )
2024-02-19 11:33lorenzofidalgoRegression levelPre packaging ( pi ) => Packaging and release
2024-02-19 14:10hgbotNote Added: 0160911
2024-02-19 15:11AugustoMauchStatusnew => scheduled
2024-02-20 09:16hgbotNote Added: 0160964
2024-02-23 14:43AugustoMauchStatusscheduled => resolved
2024-02-23 14:43AugustoMauchResolutionopen => fixed
2024-02-23 14:43AugustoMauchStatusresolved => closed

Notes
(0160911)
hgbot   
2024-02-19 14:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1374 [^]
(0160964)
hgbot   
2024-02-20 09:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1374 [^]