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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037722
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsminorhave not tried2018-01-25 11:582018-02-06 18:55
ReporterguilleaerView Statuspublic 
Assigned Toguilleaer 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionefdc2d815710
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tomarvintm
Regression introduced in release
Summary

0037722: [AWO FE] Priority of grouped tasks is not calculated correctly

DescriptionThe order used by AWOFE to show task is the priority. Priority is part of the task, but in the case of grouped tasks the priority of the line which represents the group of tasks is calculated getting the max priority of all of those tasks that belongs to the group.

This is fine but we are not taking into account that not all the task of a group can belong to the same user, so this function to retrieve the max should also take into account the user which is doing the request.
Steps To ReproduceCreate a purchase order with 2 lines
line 1 -> qty 2
line 2 -> qty 5
Create receipt tasks assigned to AWO_US_W
Go to teh tasks and for task related to qty 5 set priority to 9999

Go to mobile app
One group of task is there
Using developer tools check that priority for group is 9999

Go to backend, unassign task related to line with qty 5
return to frontend
refresh tasks
priority is still 9999 but it should be 100 which is the priority of the onlu task assigned to the current user
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0101938)
hgbot (developer)
2018-01-25 12:02

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: efdc2d815710ba730e85abb6edea705df6c03c59
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Jan 25 12:01:49 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/efdc2d815710ba730e85abb6edea705df6c03c59 [^]

Fixed issue 37722: Priority calculation for grouped task is using current user

---
M src-db/database/model/functions/OBAWO_GETCHILDTASKMAXPRIORITY.xml
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/datasources/TaskProperties.java
---

- Issue History
Date Modified Username Field Change
2018-01-25 11:58 guilleaer New Issue
2018-01-25 11:58 guilleaer Assigned To => guilleaer
2018-01-25 12:02 hgbot Checkin
2018-01-25 12:02 hgbot Note Added: 0101938
2018-01-25 12:02 hgbot Status new => resolved
2018-01-25 12:02 hgbot Resolution open => fixed
2018-01-25 12:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/efdc2d815710ba730e85abb6edea705df6c03c59 [^]
2018-02-06 18:55 marvintm Review Assigned To => marvintm
2018-02-06 18:55 marvintm Status resolved => closed
2022-09-06 17:18 caristu Category Advance Warehouse Operations => Advanced Warehouse Operations


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker