Commit graph

4522 commits

Author SHA1 Message Date
Lorenzo Tilve
535f51e573 Predefined order column width adjustments
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-08 12:14:11 +02:00
Lorenzo Tilve
a727dd771f Fixing nullpointer exception when managing criteria tree 2010-09-08 12:14:11 +02:00
Lorenzo Tilve
333486fe51 [Bug #629] Fixing bug and other i18n issues
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-08 12:05:02 +02:00
Lorenzo Tilve
7de7259a82 Adapting column widths of resources list grid
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-08 10:41:10 +02:00
Lorenzo Tilve
9ee9034c5a Added help tooltip with limiting resources information in resources edition
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-08 10:41:10 +02:00
Susana Montes Pedreira
5fd712a4ed [Bug #617] sets the scale of advances to 4, so it are shown its decimals.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-08 09:14:47 +02:00
Óscar González Fernández
01cfac51f1 Remove no needed method
FEA: ItEr60S19TimeUnitDataType
2010-09-07 20:42:44 +02:00
Óscar González Fernández
9dcfff4878 Remove unused method
FEA: ItEr60S19TimeUnitDataType
2010-09-07 20:41:38 +02:00
Óscar González Fernández
dfc9ff9f06 Remove deprecated uses of getCapacityAt
FEA: ItEr60S19TimeUnitDataType
2010-09-07 20:35:28 +02:00
Óscar González Fernández
72c7e20581 Use the instance method instead of static method
FEA: ItEr60S19TimeUnitDataType
2010-09-07 19:54:43 +02:00
Óscar González Fernández
08306eba0b Add method for rounding to hours
FEA: ItEr60S19TimeUnitDataType
2010-09-07 19:54:43 +02:00
Diego Pino Garcia
6f167388ae Fix bug Error on deleting an Order whichConstraintViolationException on deleting an Order which had a Label related to another Order or Template
There is a n-m relatioship between Label and Order. The relationship
shoudl be updated on saving an Order but removing an Order does not
imply removing its Labels as it might be related to another Order or
even to another Template.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-07 18:42:43 +02:00
Óscar González Fernández
81d3193b5b [Bug #628] Fix bug.
Getting the scenario was causing the order to be associated to the
session. In order to fix this, the orders are reattached first.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-07 18:31:52 +02:00
Óscar González Fernández
e8340b1bd6 [Bug #621] Fix bug
The advance type retrieved from a QualityForm is a proxy and never had
its data loaded. Now it's data is forced to be loaded.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-07 17:28:29 +02:00
Diego Pino Garcia
bb4d61426f Fix bug field 'code' should not be copied from template to order, as it may collapse with another existing code
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-07 17:10:29 +02:00
Diego Pino Garcia
bef57194e3 [Bug #623] Fix bug Error creating order from template
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-07 17:09:29 +02:00
Diego Pino Garcia
d1a1cba1ab Fix bug orderElement.getSumChargedHours() returned null caused runtime
error

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-07 12:54:29 +02:00
Diego Pino Garcia
b9c04d5d90 Localize predefined criterion types
Adds new component <l10n> suited to localized strings that come from
properties from business objets
2010-09-07 12:24:38 +02:00
Óscar González Fernández
50696ee4d6 [Bug #625] Fix bug
By default code generation properties are true.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-07 12:01:12 +02:00
Óscar González Fernández
5087351eaf [Bug #622] Fix bug.
The problem lied in that it was checking checkConstraintUniqueCode
from IntegrationEntity and used IntegrationEntity code instead of the
code from OrderElement. So the method is overriden to bypass that
check.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-07 11:41:32 +02:00
Óscar González Fernández
b15359bb6b [Bug #622] Ensure the transaction is rollback so the real error is returned
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-06 21:34:34 +02:00
Óscar González Fernández
8550c351cc Do the defensive copy so the data provided can't be inconspicuously manipulated
Effective Java, Item 24.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-06 21:34:34 +02:00
Óscar González Fernández
3d3fe3e32f If default constructor called ensure that the list is not null
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-06 21:34:34 +02:00
Óscar González Fernández
c5c1fbd8d0 Remove excesive white space
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-06 21:34:34 +02:00
Jacobo Aragunde Pérez
735f191320 Deleted the code that pre-loaded all the ResourceAllocations for every task in advance.
FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-06 18:38:39 +02:00
Jacobo Aragunde Pérez
6e37e99c81 Don't show the button 'Show/Hide resources' in the company gantt view.
FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-06 18:38:38 +02:00
Jacobo Aragunde Pérez
d03748cb81 Iterate over an order's children to retrieve its criteria when filtering by criteria.
We make sure the criteria are being loaded, preventing the need of pre-loading them.

FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-06 18:38:38 +02:00
Jacobo Aragunde Pérez
af96a69ca1 Remove useless methods, some of them to force loading some data.
FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-06 18:38:38 +02:00
Jacobo Aragunde Pérez
2f5f3049f1 Replace the use of OrderElementDAO.getAssignedHours() with SumChargedHours.getTotalChargedHours().
FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-06 18:38:38 +02:00
Óscar González Fernández
3a33780299 Extract variable for avoiding repetition of query
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-06 18:27:58 +02:00
Susana Montes Pedreira
3f8e06e7cf [Bug #620] Updating the current scenary for each order and its children when the report is shown.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-06 17:52:05 +02:00
Óscar González Fernández
1ab627e485 Remove more uses of deprecated methods
FEA: ItEr60S19TimeUnitDataType
2010-09-06 12:23:14 +02:00
Óscar González Fernández
5e6d7c2800 Use the current specified scenario instead of retrieving it each time
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-06 12:21:30 +02:00
Óscar González Fernández
84525951d3 Remove deprecated methods on BaseCalendar
FEA: ItEr60S19TimeUnitDataType
2010-09-06 11:57:10 +02:00
Óscar González Fernández
80aebef0db Remove no longer used deprecated methods on ChartFiller 2010-09-05 21:03:09 +02:00
Óscar González Fernández
83ab4dccfe Migrate ResourceLoadController from BigDecimals to EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-09-05 20:52:44 +02:00
Óscar González Fernández
51738e447a Fix broken build, zkex dependency not found.
The zkex dependency was moved to professional edition ZK repository in
version 3.6.4. This move must have been done after our migration to
3.6.4 from 3.6.3. This error happens when doing a maven
install on a machine that hasn't dowloaded the zkex dependency
previously.

The solution is to add professional edition ZK repository. Taking a
look at the source code of zkex it turns out it's GPL 3 licensed (at
least for 3.6.4) so this is safe.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-04 18:23:31 +02:00
Óscar González Fernández
f91034fc1b Fix problem in test
It was not throwing the exception due to the cause stated in the test.

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-03 19:11:52 +02:00
Óscar González Fernández
5472ba7ac4 Rename to less confusing name
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:22:05 +02:00
Óscar González Fernández
ed44373b2c Migrate OrderPlanningModel from BigDecimals to EffortDurations
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:31 +02:00
Óscar González Fernández
1873ca1edc Move min method to ChartFiller so it can be reused easily
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
ddf0dbd85c Rename sumDurationsForDay to sumAvailabilitiesForDay to reflect better meaning
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
7e3fcaf8e5 Migrate CompanyPlanningModel's overload from BigDecimals to EffortDurations
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
690d78c140 Migrate CompanyPlanningModel's calendarMaximumAvailability from BigDecimals to EffortDurations
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
cc96cbba10 Migrate CompanyPlanningModel's getLoad from BigDecimals to EffortDurations
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
2745cf68c5 Add new methods that work with durations instead of hours
The old methods are kept to not break existing code and allow a
gradual phase out. They are marked as deprecated.

FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
75c1110d1d Expose method that always returns a not null IWorkHours for a resource
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:30 +02:00
Óscar González Fernández
6f7ef1a310 Simplify method
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:29 +02:00
Óscar González Fernández
b7ac478eda Add method for converting a map of EffortDurations into one of BigDecimals
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:29 +02:00
Óscar González Fernández
29fb596569 Add method to convert an EffortDuration to a BigDecimal
FEA: ItEr60S19TimeUnitDataType
2010-09-03 18:19:29 +02:00