Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0051406Openbravo ERP04. Warehouse managementpublic2023-01-18 18:512023-02-13 11:35
philippe_mui 
Triage Platform Conn 
normalminoralways
closedfixed 
5
 
 
Core
No
0051406: [AWO] 2-steps validation on sticker click on the task icon is randomly working
When 2 steps validation is configured in back office, one click on the task icon should make it turn green and the number turns X/X. However after confirming the 1st one, the following next tasks are not turning green anymore and not showing X/X. When pressing a second time, the 2nd step validates the task.

See video https://drive.google.com/file/d/1G8XMVvqxl5UG0YZrJ-izzXu2fhqvvYfn/view [^]
In back office, go to Warehouse definition screen and choose a store
Select AWO frontend configuration and in Task icon behavior, select "2 steps validation" and save
Log in to AWO
create several putaway
go back to main menu
click on the orange sticker in the icon task, it turns green and the number shows x/x
Repeat for others items to move, the same behavior happens
FASH
Issue History
2023-01-18 18:51philippe_muiNew Issue
2023-01-18 18:51philippe_muiAssigned To => Triage Omni WMS
2023-01-18 18:51philippe_muiModules => Core
2023-01-18 18:51philippe_muiTriggers an Emergency Pack => No
2023-01-18 18:51philippe_muiTag Attached: FASH
2023-01-31 14:25vmromanosAssigned ToTriage Omni WMS => Triage Platform Conn
2023-02-01 10:14adrianromeroNote Added: 0146110
2023-02-01 13:04adrianromeroStatusnew => scheduled
2023-02-10 10:08hgbotNote Added: 0146354
2023-02-10 10:15joanborrasNote Added: 0146356
2023-02-10 11:35hgbotNote Added: 0146368
2023-02-10 11:35hgbotResolutionopen => fixed
2023-02-10 11:35hgbotStatusscheduled => resolved
2023-02-10 11:35hgbotNote Added: 0146369
2023-02-13 11:35alostaleStatusresolved => closed

Notes
(0146110)
adrianromero   
2023-02-01 10:14   
Can you please explain what is the expected behaviour
(0146354)
hgbot   
2023-02-10 10:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/106 [^]
(0146356)
joanborras   
2023-02-10 10:15   
Steps to reproduce the issue:

1. Create two or more "count" task, with or without any product inside, then press "back" button to return to the main window.
2. Create several putaway
3. Pick a putaway, click on the orange sticker, then It turns green and the number shows x/x. Click again to process the Task
4. Open Chrome Developer Console, look for "console" tab
5. Pick another putaway and click on the orange sticker. Nothings happens... An error like this is shown on the console:
    Uncaught TypeError: Cannot read properties of null (reading 'get') at Object.updateIndicator
    ...
6. The task icon is still orange, click on It again and the task is processed.
At this point, repeat the steps 5 and 6 to reproduce the same issue.
(0146368)
hgbot   
2023-02-10 11:35   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/106 [^]
(0146369)
hgbot   
2023-02-10 11:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: 110a8971e57920951cc46889998d77e27ece90ac
Author: Joan Borras | Practics BS <joan.borras@practicsbs.com>
Date: 10-02-2023 10:35:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/110a8971e57920951cc46889998d77e27ece90ac [^]

Fixes ISSUE-51406: 2-steps validation on sticker click on the task icon is randomly working

Fixed by forcing task selection when the button is clicked.

---
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/maintasks/components/obawo-tasks-tasksbrowser.js
---