Openbravo Issue Tracking System - POS2
View Issue Details
0056761POS2POSpublic2024-10-14 09:192024-10-14 09:19
migueldejuana 
Triage Platform Base 
normalminoralways
newopen 
5
 
 
No
0056761: Allow UserActions without call to an StateAction to save approval in Approval History window
Currently, we are able to save approvals related to actions in the backoffice (for example in Touchpoint --> Cashup History --> Approval History).

We can save any UserAction/UIAction approval there if we include for example:

  getSynchronizableStateModel() {
    return 'Cashup';
  }

This works properly for UserActions/UIActions that call to an StateAction but not for the rest.
- Add this code in SelectAttachedSafeboxToCount.js:
  getSynchronizableStateModel() {
    return 'Cashup';
  }

- Login in VBSSB2
- In Select Drawer step while login, select an Attached Drawer (Press Show All utton before)
- An Approval is shown
- SelectAttachedSafeboxToCount action is executed
- Go to the ERP and confirm that the Approval is not saved properly
I would improve UserAction.js to be able to save approval in UserAction without a call to StateAction adding a dummy generic StateAction just to be albe to execute approvals savement.
No tags attached.
Issue History
2024-10-14 09:19migueldejuanaNew Issue
2024-10-14 09:19migueldejuanaAssigned To => Triage Platform Base
2024-10-14 09:19migueldejuanaTriggers an Emergency Pack => No

There are no notes attached to this issue.