Openbravo Issue Tracking System - POS2 | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0055925 | POS2 | POS | public | 2024-07-05 10:04 | 2024-07-30 11:11 |
| Reporter | avicente | ||||
| Assigned To | SABARINATH P | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | 24Q4 | |||
| Merge Request Status | approved | ||||
| Review Assigned To | |||||
| OBNetwork customer | OBPS | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0055925: [User Input] User Input pop up is not open when 1. Convert to Return, 2. Add the product to the ticket | ||||
| Description | User 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 Reproduce | See 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 Solution | I 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 [^] | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | OBNetwork customer | => OBPS | ||
| 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 | bug_revision_view_page.php?rev_id=28194#r28194 | ||
| 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 | Merge Request Status | => open | ||
| 2024-07-16 15:39 | hgbot | Note Added: 0167020 | |||
| 2024-07-26 10:53 | hgbot | Merge Request Status | open => approved | ||
| 2024-07-26 13:44 | hgbot | Merge Request Status | approved => open | ||
| 2024-07-29 14:54 | hgbot | Note Added: 0167445 | |||
| 2024-07-30 11:11 | hgbot | Merge Request Status | open => approved | ||
| 2024-07-30 11:11 | hgbot | Note Added: 0167484 | |||
| 2024-07-30 11:11 | hgbot | Resolution | open => fixed | ||
| 2024-07-30 11:11 | hgbot | Status | scheduled => closed | ||
| 2024-07-30 11:11 | hgbot | Fixed in Version | => 24Q4 | ||
| 2024-07-30 11:11 | hgbot | Note Added: 0167485 | |||
| 2024-07-30 11:11 | hgbot | Note Added: 0167486 | |||
| 2024-07-30 11:11 | hgbot | Note Added: 0167487 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||