Openbravo Issue Tracking System - Modules
View Issue Details
0041607ModulesAdvanced Warehouse Operationspublic2019-08-08 11:592019-08-08 14:21
guilleaer 
guilleaer 
normalmajorhave not tried
closedfixed 
5
 
 
marvintm
0041607: [AWOFE] focus behavior is not correct for top-left quantity control in main AWOFE window
When a user tries to edit the quanity of a task using the control located in the top left part of AWOFE, the focus behave in a strange way not allowing to change the quantity.
Open AWOFE in live build
Open menu -> Assign
Search for ISChange
Mark the task and press check

Now you should see AWO mai window and one task

Try to change the quantity to 123 -> you will see that the behavior is not correct
The problem happens because when quantity is changed, AWO tries to decide where the focus should be.

The idea is to add an exception to above rule, and focus not will be recalculated when the focus is in this specific control.
No tags attached.
related to defect 0041182 closed alekosmp86 [AWO] When Counting more units than expected system is not allowing to enter a higher value using keyboard in front end 
Issue History
2019-08-08 11:59guilleaerNew Issue
2019-08-08 11:59guilleaerAssigned To => guilleaer
2019-08-08 12:00guilleaerRelationship addedrelated to 0041182
2019-08-08 12:18hgbotCheckin
2019-08-08 12:18hgbotNote Added: 0113903
2019-08-08 12:18hgbotStatusnew => resolved
2019-08-08 12:18hgbotResolutionopen => fixed
2019-08-08 12:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/55235e615fee8d0125529d3a47d96da6435a02a2 [^]
2019-08-08 13:34guilleaerNote Added: 0113909
2019-08-08 14:21marvintmReview Assigned To => marvintm
2019-08-08 14:21marvintmStatusresolved => closed
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0113903)
hgbot   
2019-08-08 12:18   
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 55235e615fee8d0125529d3a47d96da6435a02a2
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Aug 08 12:17:45 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/55235e615fee8d0125529d3a47d96da6435a02a2 [^]

Fixed issue 41607: Top left qty control will not lose focus

AWOFE has a process which decides which field should get the focus based on the data inserted. This mechanism is correct but it should not happen when the focus is located in that top-left quantity control.
Apart from that, debounce has been created, so this function will just be executed one time after 500ms. It creates a bettere user experience.
Finally a hook was created. Maybe in the future, more custom fields or other techniques could be developed to skip the focus caluculation process

---
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/components/obawo-tasks-manageqty.js
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/models/task.js
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/utils/obawo-constants.js
---
(0113909)
guilleaer   
2019-08-08 13:34   
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 499b04c495d06e88723c42cc5d56d663d30fc2d8
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Aug 08 13:32:08 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/499b04c495d06e88723c42cc5d56d663d30fc2d8 [^] [^]

Related to issue 41182 41607: Fix eslint problems

---
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/models/bup.js
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/models/pip.js
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/models/task.js
---