Commit graph

4582 commits

Author SHA1 Message Date
Óscar González Fernández
ff38c78835 Deprecate toHours method. Add asDurationOn method instead
FEA: ItEr60S19TimeUnitDataType
2010-09-15 13:46:53 +02:00
Óscar González Fernández
7feef61085 Remove getDurationAt deprecated method
FEA: ItEr60S19TimeUnitDataType
2010-09-15 12:46:44 +02:00
Óscar González Fernández
87ff9eb29a Change untilAllocating algorithm to use EffortDurations instead of hours
FEA: ItEr60S19TimeUnitDataType
2010-09-15 12:31:42 +02:00
Óscar González Fernández
a6d5ae9743 Use fractions instead of BigDecimals in ProportionalDistributor for better precision
FEA: ItEr60S19TimeUnitDataType
2010-09-15 12:31:42 +02:00
Óscar González Fernández
cf80afb8ad First changes to use EffortDuration in allocation algorithms
FEA: ItEr60S19TimeUnitDataType
2010-09-15 12:28:45 +02:00
Óscar González Fernández
efa58a5b88 Make the sum of durations of day assigments return an EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
a523391ce0 Make calculateResourcesPerDayFromAssignments use EffortDuration instead of hours
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
b6ef514f21 Make IAssignedHoursForResource return a duration
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
820b686bf9 Make the prefered method of building a DayAssignment to specify the EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
f53a002d15 Move min method to EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
fcbf40bea1 Remove deprecated uses. Use roundToHours methods
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-15 11:50:42 +02:00
Susana Montes Pedreira
f53eaa0188 [Bug #635] it adds a new method to reset the values of the finder.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-13 17:10:51 +02:00
Susana Montes Pedreira
149b293001 [Bug #627] it sends the subcontracted advance notification correctly.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-13 16:05:43 +02:00
Diego Pino Garcia
dadac02180 Adds extra cache of class validators in HibernateValidator.ClassValidator
The method getClassValidator() in HibernateValidator.ClassValidator tries
to find in a Map a previously created ClassValidator. In case it doesn't
exist, the method instances a new ClassValidator but doesn't cache it.

The operation of creating a new ClassValidator is expensive, 3 ms
aproximately. When an Order is saved this method is executed many times
(around 20000 times). Validators for objects of type ArrayList, PersistenSet,
Collections$UnmodifiableCollection are created each time. As an outcome,
the process of validating is remarkably slow (around 10 seconds).

This patch adds a new class NavalPlanClassValidator, which is a verbatim
copy of HibernateValidatorClassValidator, but it adds an extra cache for
ClassValidators created in getClassValidator().

FEA: ItEr60S18CambiosPantallaArbolPedido
2010-09-13 10:07:51 +02:00
Diego Pino Garcia
8450b98dd0 [Bug #642] Material search form isn't working
The filter searches for materials which are enabled (disabled == false).
When a material is created its disabled field is NULL, so the search
fails.

It's necessary to updated table 'material' in DB:

UPDATE material SET disabled = false;

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-12 22:13:28 +02:00
Óscar González Fernández
1d34ad3549 Improve logging for cancellations and errors
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-12 17:53:08 +02:00
Óscar González Fernández
a7bc4d43eb Report some statistics and execution times for snapshot creation
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-12 17:50:35 +02:00
Lorenzo Tilve
44fde9421b Fixed graphical problems in quality forms
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 20:12:44 +02:00
Lorenzo Tilve
5b67ef02a3 Fixed graphical issues and Chrome 100% width in labels and criteria edition
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-10 20:12:44 +02:00
Óscar González Fernández
2ce490407f Remove no used init methods
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:41:36 +02:00
Óscar González Fernández
d1f508c0dc Remove no needed method on interface.
There is no need to have defined in the interface a init method in
order to apply post creation callback

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:38:18 +02:00
Óscar González Fernández
23d80600cd Extract some data as predefined snapshots from OrdersMultipleFiltersFinder
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:36:23 +02:00
Óscar González Fernández
f8709f32fa Inline field
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:34:40 +02:00
Óscar González Fernández
04eba5a256 Extract resources map as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:33:08 +02:00
Óscar González Fernández
e22fc1fe0a Extract criterion list as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:30:53 +02:00
Óscar González Fernández
c831e33d6b Extract cost categories list as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:29:56 +02:00
Óscar González Fernández
86acf99c74 Extract workers list as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:28:42 +02:00
Óscar González Fernández
df885861ca Extract labels map as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:27:18 +02:00
Óscar González Fernández
053850a5d4 Retrieve the map of criterions from the database snapshots
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:27:14 +02:00
Óscar González Fernández
32ab38459e Create a predefined snapshot for a map of criterions
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:22:20 +02:00
Óscar González Fernández
bd8b729396 [Bug #637] Fix bug
Don't retrieve the advance end date when the task is a milestone

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:15:09 +02:00
Lorenzo Tilve
e978499264 Adding ordenation support and changed column headers in subcontracted project list
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 14:10:23 +02:00
Lorenzo Tilve
ccf7aa08fc Fixing i18n problems detected
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 14:10:17 +02:00
Lorenzo Tilve
324e6fee17 Removed table headers from MultipleFiltersFinder bandbox
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 14:10:01 +02:00
Óscar González Fernández
4b4d3db283 [Bug #634] Fix bug
The picker must be updated always, not only for days with exceptions

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 14:02:06 +02:00
Óscar González Fernández
c8281ab676 Fix bug
When assigning to non limiting allocations, it was allowing to assign
limiting resources.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 13:50:32 +02:00
Óscar González Fernández
423b8a1c80 Revert "[Bug #635] Fix bug"
The id of the commit is wrong. This reverts commit
b758c8bbd3.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 13:50:32 +02:00
Jacobo Aragunde Pérez
609158647b Corrected some wrong translations.
FEA: ItEr60S05DocumentacionFormacionItEr59S05
2010-09-10 13:45:10 +02:00
Óscar González Fernández
b758c8bbd3 [Bug #635] Fix bug
When assigning to non limiting allocations, it was allowing to assign
limiting resources.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 12:53:23 +02:00
Lorenzo Tilve
4af46036c3 [Bug #633] Fix bug
Reordered input fields in calendar exceptions

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 10:15:06 +02:00
Lorenzo Tilve
545338601a [Bug #632] Fix bug
The wrong label close was being displayed for cancelling criteria
edition.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 10:14:54 +02:00
Lorenzo Tilve
7b2c0ef64a Added info tooltip for machines limiting resource field
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 10:14:42 +02:00
Óscar González Fernández
95c0461dff Fix bug in material creation.
The error only happened the first time the application is launched. In
the next executions the UnitType would already be in the database so
it's not transient. Calling dontPoseAsTransientAnymore so this doesn't
happen.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-09 14:09:21 +02:00
Lorenzo Tilve
2b537df5a1 Modified appearance of transfer order between scenarios
FEA:ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-09 14:05:45 +02:00
Lorenzo Tilve
fc7543ccb2 Renamed assigned hours tab to imputed hours
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-09 14:05:45 +02:00
Lorenzo Tilve
799355ce01 Graphical improvements on imputed hours tab
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-09 14:05:45 +02:00
Lorenzo Tilve
695c4272cc Fixing i18n problems
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-09 14:05:45 +02:00
Jacobo Aragunde Pérez
debf7d7b68 Prevent the calculation of the resources list for each task in the Company screen.
FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-09 11:17:19 +02:00
Jacobo Aragunde Pérez
acc94293e6 Delay the construction and data retrieval for the charts below the company view until they are actually shown.
The charts have also been configured to be hidden by default,
to boost the load of the initial screen.

FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-09 11:17:19 +02:00
Óscar González Fernández
c4309dd0c7 Fix bug. Avoid that effort duration picker appears repeated when saving and continuing
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-09 10:57:37 +02:00