Óscar González Fernández
910b4eafea
Add GanttDate class and an adapter for business
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 13:35:27 +02:00
Óscar González Fernández
07be2df27e
Remove unused fields
...
FEA: ItEr61S05BugFixing
2010-10-05 21:48:36 +02:00
Óscar González Fernández
2858d29547
Fix bug
...
The dates can be null so it must be checked
FEA: ItEr61S05BugFixing
2010-10-03 13:34:20 +02:00
Óscar González Fernández
31e2a04c87
Segregate the methods for updating the task from the UI
...
This is intented for segregating the methods that are intended to be
used from the UI that will provide LocalDates from the the methods
that will update the dates directly.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-01 19:56:28 +02:00
Óscar González Fernández
0bea855f98
Switch IDatesMapper to use types based on joda time instead of dates
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-01 18:38:18 +02:00
Jacobo Aragunde Pérez
369dd74e41
Replaced the calls to TaskElement.getTotalHoursAssigned() with the new method.
...
Also getTotalHoursAssigned() was renamed to a more specific name.
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-01 13:22:38 +02:00
Jacobo Aragunde Pérez
32c430f06a
Added a small modification to the Advanced Allocation screen to make it update the tasks correctly.
...
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-01 13:22:38 +02:00
Óscar González Fernández
bf46ea2e33
Fix bug introduced in AdvancedAllocationController when changing internal types of Interval
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-01 00:23:18 +02:00
Óscar González Fernández
7d09ed0980
Change Interval to use LocalDates and associated changes
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:24 +02:00
Óscar González Fernández
719ce60fbf
Remove getLength and setLength milliseconds from ITaskFundamentalProperties
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
d8b3eed6d8
setBeginDate no longer returns the length
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
88ee2d8231
Notify end dates events instead of length
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
749bf03981
Add getEndDate and setEndDate to ITaskFundamentalProperties
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Óscar González Fernández
79002df918
Remove unused fields
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-09-30 22:13:23 +02:00
Diego Pino Garcia
d3ce1413ef
Added report 'hours worked per worker in a month'
...
FEA: ItEr61S06ExceptionTypeEntity
2010-09-30 00:05:29 +02:00
Diego Pino Garcia
341145a597
Since HoursGroup extends IntegrationEntity it doesn't need its own 'code' field anymore
...
* Move validation unique code (Order, HoursGroup) to outer toEntity() method
* HoursGroup constructor should call IntegrationEntity.create() before
setting code, to avoid override its value
* orderWithOrderLineWithInvalidHoursGroup() expects only 1 constraint violation
as validation of code is not checked twice
FEA: ItEr61S05BugFixing
2010-09-29 17:37:17 +02:00
Diego Pino Garcia
681c3fdc18
Fix bug validation 'OrderElement code must be unique' must be done for all OrderElements and not only for OrderLineGroups
...
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:57 +02:00
Diego Pino Garcia
5b0e11fb41
Add validation 'HoursGroup code must be unique' in the service layer
...
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:57 +02:00
Diego Pino Garcia
e76cd09bee
Add new test for checking HoursGroupCode must be unique
...
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:57 +02:00
Diego Pino Garcia
86eb25c048
Add validation 'OrderElement code must be unique' in the service layer
...
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:57 +02:00
Diego Pino Garcia
1207aa9198
Move constraint validation hoursgroup.code must be unique to OrderModel.save()
...
HoursGroup.code must be unique for each OrderElement. This constraint
was being validation in HoursGroup, as an Hibernate validation. This
validation was very slow has for each HoursGroup it was needed to check
against all other HoursGroup. I moved this validation to
OrderModel.save() and speed up the process, keeping the same
funcionality.
FEA: ItEr61S07PerformanceOrderEdition
2010-09-29 12:29:46 +02:00
Diego Pino Garcia
23d70111e0
HoursGroup must extend from IntegrationEntity
...
FEA: ItEr61S05BugFixing
2010-09-29 11:16:38 +02:00
Manuel Rego Casasnovas
cc61ab72b9
[Bug #662 ] Removed test "orderWithLabelRepeatedInTheSameBranchIsNotAddedTwice".
...
The test is removed because of since commit
b446658fe2 is not possible to add the same label
twice in the same branch (this is managed with method removeLabelOnChildren that
is automatically called in addLabel).
FEA: ItEr61S05BugFixing
2010-09-28 09:56:26 +02:00
Óscar González Fernández
d3892ef778
Prevent going to advance allocation when there are no allocations
...
FEA: ItEr61S05BugFixing
2010-09-28 00:00:27 +02:00
Óscar González Fernández
152e5216ff
[Bug #663 ] Fix bug
...
It was always retrieving end data for AggregateOfResourceAllocations
and that's illegal when the aggregate is empty.
FEA: ItEr61S05BugFixing
2010-09-27 23:51:15 +02:00
Diego Pino Garcia
fd6f652f54
Manage entity 'Calendar Exception Type'.
...
* Adds a new entry at Administration->Data Type->Exception Day Types for managing 'Calendar Exception Types'
* Adds a new field 'duration' to entity CalendarExceptionType
* Modifies Calendar managing, so when a CalendarExceptionType is selected its field duration is set to the number of hours assigned to selected CalendarExceptionType
FEA: ItEr61S06ExceptionTypeEntity
2010-09-27 18:58:07 +02:00
Óscar González Fernández
04fe46a0ab
Use not recursive function so all Order children are not loaded
...
Order children are not loaded. This avoids query to the database.
FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-22 20:52:55 +02:00
Óscar González Fernández
fc475b1c34
Expose start and end as IntraDayDates in AllocationResult
...
FEA: ItEr60S19TimeUnitDataType
2010-09-22 18:01:56 +02:00
Óscar González Fernández
b8e7c8668a
Expose start and end dates as IntraDayDates
...
FEA: ItEr60S19TimeUnitDataType
2010-09-22 17:53:22 +02:00
Óscar González Fernández
eec45cd955
Use method in date to get start as LocalDate
...
FEA: ItEr60S19TimeUnitDataType
2010-09-22 17:28:24 +02:00
Óscar González Fernández
ab6417fcf6
untilAllocating now returns a IntraDayDate
...
FEA: ItEr60S19TimeUnitDataType
2010-09-22 17:28:23 +02:00
Óscar González Fernández
8836035ace
Refactor improve quantities by default in resource allocation window
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-22 16:48:29 +02:00
Manuel Rego Casasnovas
feaa55e6f6
[Bug #599 ] Fix bug adding a new method when it comes from limiting resources view.
2010-09-22 13:43:12 +02:00
Susana Montes Pedreira
7a17025aef
[Bug #647 ] Improve quantities by default in resource allocation window .
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-22 12:40:54 +02:00
Lorenzo Tilve
a36dc067ee
Reviewed styles in assignment function configuration.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-22 11:49:27 +02:00
Lorenzo Tilve
e5a02f14f1
[Bug #657 ] Fixed bug.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-22 11:49:27 +02:00
Lorenzo Tilve
a9db0b03f6
[Bug #658 ] Fixed bug.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-22 11:49:27 +02:00
Jacobo Aragunde Pérez
332bbe583d
Disable the calculation of the assignedResource attribute in TaskElements from Company view.
...
That calculation loaded the relations with ResourceAllocations from DB and
we want to prevent it in that screen.
FEA: ItEr60S17CambiosPantallaVistaEmpresa
2010-09-21 18:09:41 +02:00
Óscar González Fernández
d37657ea03
The criterions tree must be ordered by criterion type name and criterion name
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 18:04:40 +02:00
Óscar González Fernández
0d7cd79ebc
Change type to specific allocation when choosing a resource
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 18:04:40 +02:00
Susana Montes Pedreira
7bef9e9934
[Bug #649 ] Updates the number of hours of the order lines.
...
Updates the number of hours of the order line when this one
is edited with double click.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 17:49:04 +02:00
Manuel Rego Casasnovas
d1969288d3
[Bug #562 ] Fixed bug hidden buttons at company view.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 14:39:42 +02:00
Manuel Rego Casasnovas
af9733ea38
[Bug #562 ] Remove unnecessary code.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 14:39:42 +02:00
Susana Montes Pedreira
cfa5e4b05a
[Bug #649 ] Sets a new constraint to the number of hours of the order lines.
...
Updates the number of hours of the order line and if the order line
has more that an hours group, the cell to edit the number of hours will
be disabled and it will be shown a informative message.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 13:54:31 +02:00
Manuel Rego Casasnovas
064cc52529
Fixed some permissions issues.
...
* Changed menu to hide external companies link when user is not administrator.
* Adding URL to manage work report types as just accessible for ROLE_ADMINISTRATION.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 13:46:33 +02:00
Óscar González Fernández
5e65841a29
Show the criteria tree sorted
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 13:15:28 +02:00
Óscar González Fernández
d012d24d6f
[Bug #656 ] Fix bug
...
Checking also if the type is the same
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 13:08:23 +02:00
Óscar González Fernández
278bd3d023
Add javadoc
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 12:59:37 +02:00
Óscar González Fernández
12ebc13966
Fix bug
...
It was returning all the resources related to some of the
criteria. Now it requires that it's related to all of them.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 12:59:37 +02:00
Manuel Rego Casasnovas
b8dac18491
[Bug #655 ] Using "getAllRoles" instead of calculate manually the roles depending on the profiles.
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-21 12:02:50 +02:00