Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055925
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-07-05 10:042024-07-16 15:39
ReporteravicenteView Statuspublic 
Assigned ToSABARINATH P 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055925: [User Input] User Input pop up is not open when 1. Convert to Return, 2. Add the product to the ticket

DescriptionUser Input pop up for 'Return Ticket' is not open if the actions are excecuted in the order: 1. Convert to Return, 2. Add the product to the ticket.

See video https://drive.google.com/file/d/194Xlx9UxCxZjXTL_JFc_HD9XThp9DEng/view?usp=sharing [^]
Steps To ReproduceSee video https://drive.google.com/file/d/194Xlx9UxCxZjXTL_JFc_HD9XThp9DEng/view?usp=sharing [^]

1. To Define a ‘User Input’ with a list of values in BO.
2. To Define a ‘User Action Input’ for the action ‘Return Ticket’ and the previously defined ‘User Input’ in BO.
3. Login in POS.
4. Click on ‘Convert to return’.
5. Add a product.

Current Result:
- The User Input pop up for 'Return Ticket' is not open.

Expected Result:
- The User Input pop up for 'Return Ticket' should be open when 1. Convert to Return, 2. Add the product to the ticket.
Proposed SolutionI think that one possible solution for this could be to add a pre hook in the AddProduct user action which:

Identifies if the ticket is a return
If it is a return, asks for the inputs (not the ones linked to the AddProduct but those that are requested for the user action that makes the ticket a return). See here an example that shows a user action requesting the inputs of a different user action. If ticket is not a return, nothing is done: just return the payload without changes.

Include the information of the inputs properly in the payload. → Check that the information is correctly synchronized in the backend (Approval History and Input History subtabs).


** https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SetLineReturnInputs.js#L35 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0167020)
hgbot (developer)
2024-07-16 15:39

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2800 [^]

- Issue History
Date Modified Username Field Change
2024-07-05 10:04 avicente New Issue
2024-07-05 10:04 avicente Assigned To => Triage Platform Base
2024-07-05 10:04 avicente Triggers an Emergency Pack => No
2024-07-05 10:08 avicente Summary [User Input] User Input pop up is not open => [User Input] User Input pop up is not open when 1. Convert to Return, 2. Add the product to the ticket
2024-07-05 13:39 avicente Steps to Reproduce Updated View Revisions
2024-07-05 14:59 avicente Assigned To Triage Platform Base => guilleaer
2024-07-05 15:02 avicente Assigned To guilleaer =>
2024-07-05 15:02 avicente Category Core => POS
2024-07-05 15:04 guilleaer Assigned To => Retail
2024-07-05 15:04 guilleaer Status new => acknowledged
2024-07-06 07:13 SABARINATH P Assigned To Retail => SABARINATH P
2024-07-06 07:13 SABARINATH P Status acknowledged => scheduled
2024-07-08 08:50 guilleaer Proposed Solution updated
2024-07-08 09:04 guilleaer Proposed Solution updated
2024-07-16 15:39 hgbot Note Added: 0167020


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker