Commit graph

5517 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
33b23b341b [Bug #848] Removed repeated method in OrderLineGroup.
FEA: ItEr70S04BugFixing
2011-02-15 23:33:15 +01:00
Susana Montes Pedreira
33281715ee [Bug #851] fix bug
set type BigDecimal to units property in the
report TimeLineRequiredMaterial.

FEA : ItEr70S04BugFixing
2011-02-15 19:20:29 +01:00
Óscar González Fernández
64c0e70642 Refactor
Extract method so the method has the same level of abstraction.

FEA: ItEr70S04BugFixing
2011-02-15 17:05:01 +01:00
Óscar González Fernández
1dba5fb5f7 [Bug #853] Fix bug
The problem was because the IndirectAdvanceAssignments were still
posing as transient.

FEA: ItEr70S04BugFixing
2011-02-15 17:04:57 +01:00
Manuel Rego Casasnovas
cc74c51c15 [Bug #852] Fixed bug adding children advance if some indirect advance exists.
FEA: ItEr70S04BugFixing
2011-02-15 17:00:21 +01:00
Susana Montes Pedreira
4f4c6a404b [Bug #850] fix bug
It generates the codes of the materials and then it
saves each material category.

FEA : ItEr70S04BugFixing
2011-02-15 13:41:03 +01:00
Manuel Rego Casasnovas
37f8f2fba9 Added warning log message when fake advance is NULL in ManageOrderElementAdvancesModel.
FEA: ItEr70S04BugFixing
2011-02-15 12:19:01 +01:00
Manuel Rego Casasnovas
eef554f951 Added warning log message when fake advance is NULL in AdvanceAssignmentPlanningModel.
FEA: ItEr70S04BugFixing
2011-02-15 12:18:54 +01:00
Susana Montes Pedreira
2d2ab13633 [Bug #849] set the init date in with current date by default in cost category view
FEA : ItEr70S04BugFixing
2011-02-15 11:45:24 +01:00
Susana Montes Pedreira
71320743c8 [Bug #849] fix the behaviour of the dates in the cost category view
Disable any previous day to the selected init date in order to not
be chosen as end date.

FEA : ItEr70S04BugFixing
2011-02-15 11:15:11 +01:00
Óscar González Fernández
5c9fa9021a [Bug #848] Fix bug
Avoid NullPointerException. calculateFakeDirectAdvanceAssignment was
returning null. Not sure if it's normal or is caused by an
inconsistency in the data.

FEA: ItEr70S04BugFixing
2011-02-14 22:16:39 +01:00
Lorenzo Tilve
915cc93732 Removed extra padding appearing next to floating calendars
FEA: ItEr70S04BugFixing
2011-02-14 17:19:05 +01:00
Lorenzo Tilve
304a0d7002 [Bug #814] Fix bug
Dependencies start in limiting resources is now moved to the right corner of the queue element and vertically aligned with it.

FEA: ItEr70S04BugFixing
2011-02-14 17:18:57 +01:00
Óscar González Fernández
0413e0b3e1 Avoid having Orders as proxies
It can cause ClassCastExceptions when doing orderElement.getOrder

FEA: AnA08S10Reports
2011-02-14 14:39:43 +01:00
Óscar González Fernández
e1fe687623 Move loadOrderAvoidingProxyFor to OrderModel
This is needed for avoiding a cycle with WorkReportDAO. Also a new
method is added that allows to load the orders for several order
elements at the same time. This avoids creating one transaction per
order element.

FEA: AnA08S10Reports
2011-02-14 14:38:47 +01:00
Óscar González Fernández
cf45f98358 [Bug #843] Fix bug
Division had the arguments in reverse order.

FEA: ItEr70S04BugFixing
2011-02-14 11:41:37 +01:00
Lorenzo Tilve
e56f022cd9 Fixed nullpointer exception on work week date picker
FEA: ItEr70S04BugFixing
2011-02-14 11:15:15 +01:00
Óscar González Fernández
d0cd64c987 [Bug #842] Fix bug
When the end date is converted to a LocalDate getDate method must be
used. asExclusiveEnd was returning the next LocalDate when the end
date finished in the middle of a day, this caused it to overlap with
the next LoadPeriod.

FEA: ItEr70S04BugFixingx
2011-02-11 16:27:48 +01:00
Óscar González Fernández
9532c2b71f Avoid exception if effortAssigned is zero
Add a warning if this happens and the totalEffort is not zero.

FEA: ItEr70S04BugFixingx
2011-02-11 16:27:47 +01:00
Lorenzo Tilve
339f02c931 Fixed positioning issues on add assignment button
FEA: ItEr70S04BugFixing
2011-02-11 12:34:28 +01:00
Lorenzo Tilve
1307d23e42 Fixed bug with project deadline mark
On week zoomlevel when the project deadline happened in current day column it wasn't displayed properly.

FEA: ItEr70S04BugFixing
2011-02-11 12:34:28 +01:00
Lorenzo Tilve
236de1432c Revamped toolbar buttons
It has also been corrected the vibration effect they caused in the toolbar when pressed

FEA: ItEr70S04BugFixing
2011-02-11 12:34:27 +01:00
Lorenzo Tilve
d20003bac4 Dotted line representing current day aligned to day middle
FEA: ItEr70S04BugFixing
2011-02-11 12:34:27 +01:00
Lorenzo Tilve
73f86dbd33 Added save-and-continue action to calendar edition window
FEA: ItEr70S07CalendarAdminInterfaceItEr69S09
2011-02-11 12:34:27 +01:00
Lorenzo Tilve
5c173ee71d Removed unused code
FEA: ItEr68S04BugFixing
2011-02-11 12:34:27 +01:00
Susana Montes Pedreira
5df9b18a63 Change the way it is represented the load chart at zoom level of week
it paints real data of each day in the zoom level day and week.
And it paints the average of the data for each week, in the
others zoom levels.

FEA : ItEr70S05GridLoadChart
2011-02-10 13:55:06 +01:00
Susana Montes Pedreira
85d3218c60 Change the way it is represented the load chart
represent the start and finish of the time interval for
each time unit

FEA : ItEr70S05GridLoadChart
2011-02-10 13:51:55 +01:00
Susana Montes Pedreira
cb09cbca6d Change the way it is represented the load chart
represent the start and finish of the time interval for
each time unit

FEA : ItEr70S05GridLoadChart
2011-02-10 13:48:31 +01:00
Óscar González Fernández
cc0da393df Remove unused field
FEA: ItEr70S04BugFixing
2011-02-09 20:19:06 +01:00
Óscar González Fernández
685386e06f Use EffortDuration instead of hours to increase precision
FEA: ItEr70S04BugFixing
2011-02-09 20:19:06 +01:00
Óscar González Fernández
098f8e594b [Bug #840] Fix bug
Now the intra-day dates are considered and the total work hours are
not over-reported.

FEA: ItEr70S04BugFixing
2011-02-09 20:19:05 +01:00
Óscar González Fernández
d2df191073 Expose methods to allow to get the EffortDuration elapsed in an interval of IntraDayDates
FEA: ItEr70S04BugFixing
2011-02-09 20:19:05 +01:00
Óscar González Fernández
fc02c28e91 [Bug #838] Fix bug
Allow again to grow the allocation so the original number of hours is
respected.

FEA: ItEr70S04BugFixing
2011-02-09 00:35:25 +01:00
Óscar González Fernández
36baa57baa Add method to allow to allocate hours outside the task's bounds
FEA: ItEr70S04BugFixing
2011-02-09 00:35:25 +01:00
Óscar González Fernández
6d550c0f9d Extract superclass and generalize the use of interval
FEA: ItEr70S04BugFixing
2011-02-09 00:35:25 +01:00
Óscar González Fernández
d1896093fa Rename onInterval method
The new method, onIntervalWithinTask, reflects much better the
meaning.

FEA: ItEr70S04BugFixing
2011-02-09 00:35:24 +01:00
Óscar González Fernández
6d1bddbafc Rename methods
Now it's clearer what they do and there is less confusion.

FEA: ItEr70S04BugFixing
2011-02-09 00:35:24 +01:00
Óscar González Fernández
94d89fc226 Add documentation for method
FEA: ItEr70S04BugFixing
2011-02-09 00:35:24 +01:00
Óscar González Fernández
4bbd1ed59a [Bug #838] Fix bug
If the interval allocated didn't overlap with the task's bounds an
exception was caused. Now this is avoided.

FEA: ItEr70S04BugFixing
2011-02-09 00:35:24 +01:00
Óscar González Fernández
93765d7460 [Bug #837] Fix bug
When entering a new allocation form the recommended allocation goes to
the intial state, so it's enabled.

FEA: ItEr70S04BugFixing
2011-02-08 15:36:38 +01:00
Óscar González Fernández
e9d93fc727 Replace "principal" by main
Main is the right adjective.

FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:16 +01:00
Óscar González Fernández
48717f3624 Add related specific allocations second level
FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:16 +01:00
Óscar González Fernández
efb28b8404 Add new query for searching for specific allocations interfering with a criterion
FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:15 +01:00
Óscar González Fernández
57c10052c1 Pull up method and do it more generic
FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:15 +01:00
Óscar González Fernández
c74b23252b Refactor genericAllocationsByCriterion
Splitted into several methods

FEA: ItEr70S08CriteriaLoadRefinementItEr69S10
2011-02-08 14:07:15 +01:00
Óscar González Fernández
ca9a0d7369 Adapt LoadPeriodGeneratorOnCriterion so it can work with specific allocations
For a specific allocation only the assigned hours are returned on
intervals that the criterion is satisfied.

FEA: ItEr69S10CriteriaLoadRefinement
2011-02-08 14:07:15 +01:00
Óscar González Fernández
1fd1462b89 Avoid executing methods twice
Extract local variables so potentially expensive methods are not executed twice

FEA: ItEr69S10CriteriaLoadRefinement
2011-02-08 14:05:36 +01:00
Óscar González Fernández
55ad1b571b Avoid repeating query
FEA: ItEr69S10CriteriaLoadRefinement
2011-02-08 14:05:36 +01:00
Lorenzo Tilve
68265ca6e7 Fixed visibility problems of disabled inputs on Chrome
FEA: ItEr70S04BugFixing
2011-02-08 13:36:22 +01:00
Lorenzo Tilve
12622d951d [Bug #805] Fix bug
Error messages due to cell totals calculations are now floated

FEA: ItEr70S04BugFixing
2011-02-08 13:36:22 +01:00