Commit graph

4248 commits

Author SHA1 Message Date
Óscar González Fernández
697e6c728a ItEr58S17AsignacionConsolidacion: Add support for detaching day assignments on removal 2010-05-24 18:51:52 +02:00
Óscar González Fernández
da0c4a2ff6 ItEr58S17AsignacionConsolidacion: Add mechanism for being notified when a day assignment is removed 2010-05-24 18:38:54 +02:00
Manuel Rego Casasnovas
7587a63871 ItEr58S17AsignacionConsolidacion: Fixed method to get first day not consolidated from a Task. 2010-05-24 08:43:50 +02:00
Javier Moran Rua
2b20bbca55 ItEr58S04ValidacionEProbasFuncionaisItEr57S04: Adding indexes over foreign keys in certain associations of several hbm.xml files.
The reviewed hbm.xml files are:

Advance.hbm.xml
CostCategories.hbm.xml
Labels.hbm.xml
Orders.hbm.xml
Materials.hbm.xml
ResourceAllocations.hbm.xml
QualityForms.hbm.xml
Requirements.hbm.xml
Resources.hbm.xml
Templates.hbm.xml

Note:

Index are only created if you have the configuration with the property:

hibernate.hbm2ddl.auto=create
or
hibernate.hbm2dd.auto=create-drop
2010-05-24 00:18:54 +02:00
Óscar González Fernández
2eb7cca768 ItEr58S14RecalculosConexionEscenariosItEr57S15: Avoid the creation of spurious domain dependencies.
When creating a Dependency is automatically added to the tasks. This
was causing the invisible dependencies to be created.
2010-05-23 13:44:18 +02:00
Óscar González Fernández
8357c60ca7 ItEr58S14RecalculosConexionEscenariosItEr57S15: Fix bug.
When a tasks is removed its dependencies must be removed too. Otherwise when the task is not preexistent a TransientObjectException happens.
2010-05-23 13:34:28 +02:00
Óscar González Fernández
90c24974e1 ItEr58S14RecalculosConexionEscenariosItEr57S15: Guarantee removed tasks sources are removed from order element.
Using taskSourceRemoval the order element is updated.
2010-05-22 20:32:42 +02:00
Óscar González Fernández
8f375a7891 ItEr58S14RecalculosConexionEscenariosItEr57S15: It's better to do it after the transaction 2010-05-22 20:28:34 +02:00
Óscar González Fernández
2d1a5682f0 ItEr58S14RecalculosConexionEscenariosItEr57S15: [Bug #465] Fix bug.
The condition was wrong. When the tasks are not preexistent the tasks cannot be removed
2010-05-22 20:19:46 +02:00
Óscar González Fernández
f3bd2501e5 ItEr58S14RecalculosConexionEscenariosItEr57S15: [Bug #466] Fix bug.
The error happened doing a validation against an hibernate proxy
object. This is an old issue. The validation annotations were applied
to fields, but they should be applied to getters to avoid problems
when the entity being validated is a proxy.
2010-05-22 17:17:51 +02:00
Manuel Rego Casasnovas
c81475bc4c ItEr58S17AsignacionConsolidacion: Add method to get first day not consolidated from a Task. 2010-05-21 17:40:23 +02:00
Óscar González Fernández
cac565c366 ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #463] Fix bug.
When filtering at resource load screen a new TimeTrackerComponent is
created and the old one is discarded. The old one remains in memory,
and listens to zoom change event from TimeTracker. Because of already
not being on the page it fails when being recreated as shown in the
bug's stack trace.
2010-05-21 17:13:04 +02:00
Óscar González Fernández
5f3ea9753c Revert " ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: [Bug #463] The zoom and the page filter work fine together now in the resources load page."
This reverts commit 4fed45e582.
2010-05-21 15:58:58 +02:00
Susana Montes Pedreira
eb945cd508 ItEr58S20RFMellorasAvances: Adds some improvements in the advances screen.
at beginning it selects the spread advance or it selects the new
advance when this is created.
2010-05-21 12:36:40 +02:00
Lorenzo Tilve
6d50e0aa5d ItEr58S08RFAspectosGraficosRecursoLimitantesItEr57S08: Removed filtering combo and invalid paginators in limiting resources window 2010-05-21 12:16:20 +02:00
Lorenzo Tilve
b82757f161 ItEr58S08RFAspectosGraficosRecursoLimitantesItEr57S08: Removed Year and Quarter detail levels from limiting resources zoom combo 2010-05-21 12:16:18 +02:00
Lorenzo Tilve
6cc4e3d369 ItEr58S08RFAspectosGraficosRecursoLimitantesItEr57S08: Added hour level TimetrackerState 2010-05-21 12:16:15 +02:00
Lorenzo Tilve
95c230c59c ItEr58S08RFAspectosGraficosRecursoLimitantesItEr57S08: Dependency list component listens to zoom changes 2010-05-21 12:16:12 +02:00
Susana Montes Pedreira
4561821b1a ItEr58S17AsignacionConsolidacion: adds constraints to the advance consolidation.
the advance consolidation is read only if the task has got some limiting resources allocations.

it can not consolidate advances if the task is subcontrated or if the task has not got
any resources allocations.
2010-05-21 11:54:06 +02:00
Jacobo Aragunde Pérez
bac99b74da ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: Solved a bug that deleted the name filter listener while it was still in use.
The garbage collector deleted it because there were no strong references, but it could be still in use.
2010-05-21 11:23:25 +02:00
Óscar González Fernández
df27ede355 ItEr58S17AsignacionConsolidacion: Add allocateKeepingProportions for specific allocations. 2010-05-20 21:33:06 +02:00
Óscar González Fernández
ef2785139e ItEr58S17AsignacionConsolidacion: Extract method for resetting the assignments on an interval 2010-05-20 21:10:09 +02:00
Óscar González Fernández
2b3417af56 ItEr58S14RecalculosConexionEscenariosItEr57S15: Add feedback.
Progress information is shown when doing reassignations.
2010-05-20 18:07:38 +02:00
Susana Montes Pedreira
d899ae17ac ItEr58S17AsignacionConsolidacion: add constraint to the resource allocation.
if the task has got some consolidation, the resource allocation type can not be changed.
2010-05-20 18:06:58 +02:00
Susana Montes Pedreira
c03cd0f5a0 ItEr58S20RFMellorasAvances: Adds some improvements in the advances screen.
it does not permit to delete the spread advance.
it is necessary to select another advance as spread.
2010-05-20 18:06:47 +02:00
Susana Montes Pedreira
341365a6d3 ItEr58S20RFMellorasAvances: Adds some improvements in the advances screen.
sort the advances types in the selection combo and set a advance type as
the default to each new advance assignment.
2010-05-20 16:20:21 +02:00
Susana Montes Pedreira
8e1075964e ItEr58S20RFMellorasAvances: Adds some improvements in the advances screen.
fixes the design and sets a minimum width of each title or header.
2010-05-20 16:19:46 +02:00
Jacobo Aragunde Pérez
4fed45e582 ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: [Bug #463] The zoom and the page filter work fine together now in the resources load page. 2010-05-20 16:04:39 +02:00
Manuel Rego Casasnovas
1ea0bc41f1 ItEr58S17AsignacionConsolidacion: Moved advance consolidation tab to a new window. 2010-05-20 11:10:01 +02:00
Manuel Rego Casasnovas
9cda12a115 ItEr58S17AsignacionConsolidacion: Set default value for consolidated attribute of DayAssignment to false. 2010-05-20 11:09:57 +02:00
Jacobo Aragunde Pérez
dc667704d5 ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: Restore state of the page filter when changing to other screen and coming back.
Solves the bug that deletes the content of the combo box in that case.
2010-05-20 10:46:05 +02:00
Jacobo Aragunde Pérez
1a1ca760e9 ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: Apply name filter to criteria 2010-05-20 10:46:05 +02:00
Jacobo Aragunde Pérez
a13d8ce6b5 ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10:: Apply name filter to resources.
The filter is now implemented on the model, so only the resources that are going to be
shown are calculated.
2010-05-20 10:46:05 +02:00
Jacobo Aragunde Pérez
6d8effca44 ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: Completed the construction of the name filter combo in the model.
Now it also works when changing the filter to 'by criteria'.
2010-05-20 10:46:05 +02:00
Jacobo Aragunde Pérez
6e6ad1b1e9 ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: Implemented the construction of the name filter combo in the model.
At the moment it only works for Resources. The filter is not active either.
2010-05-20 10:46:05 +02:00
Jacobo Aragunde Pérez
0fb4c9681d ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: Make the pagination on the ResourcesLoad widget configurable.
It can be set as internal, external or disabled.
2010-05-20 10:46:05 +02:00
Jacobo Aragunde Pérez
c95b5f71c4 ItEr58S18CUEscaladoPantallaCargaRecursosEmpresaItEr57S10: Created the interface IPaginationFilterChangedListener to notify the changes in the name filter from the widget to the controller. 2010-05-20 10:46:05 +02:00
Óscar González Fernández
7d32f40c47 ItEr58S14RecalculosConexionEscenariosItEr57S15: Make available functionality for making updates asynchronous 2010-05-19 20:06:02 +02:00
Óscar González Fernández
618196a780 ItEr58S14RecalculosConexionEscenariosItEr57S15: Make available functionality for making updates asynchronous 2010-05-19 20:02:26 +02:00
Manuel Rego Casasnovas
5553599d0d ItEr58S17AsignacionConsolidacion: Removed unused file. 2010-05-19 18:16:54 +02:00
Óscar González Fernández
b182b3bab2 ItEr58S14RecalculosConexionEscenariosItEr57S15: Do reassignations for each order needing to be reassigned 2010-05-19 17:45:15 +02:00
Óscar González Fernández
9ad88a2dc6 ItEr58S14RecalculosConexionEscenariosItEr57S15: Copy the containers 2010-05-19 17:45:15 +02:00
Óscar González Fernández
5c6231feac ItEr58S14RecalculosConexionEscenariosItEr57S15: Expose method to retrieve the constraints 2010-05-19 17:45:15 +02:00
Óscar González Fernández
84cf8cacb5 ItEr58S14RecalculosConexionEscenariosItEr57S15: Add method for adding dependencies without enforcing restrictions 2010-05-19 17:45:15 +02:00
Óscar González Fernández
02d3d94347 ItEr58S14RecalculosConexionEscenariosItEr57S15: Adding create method to avoid repeating generic types on constructor 2010-05-19 17:45:15 +02:00
Óscar González Fernández
add12b9079 ItEr58S14RecalculosConexionEscenariosItEr57S15: Add method to retrieve the smallest start date of all children 2010-05-19 17:45:15 +02:00
Óscar González Fernández
f48b9e6d50 ItEr58S14RecalculosConexionEscenariosItEr57S15: Add method for copying assignments from one scenario to another 2010-05-19 17:45:14 +02:00
Óscar González Fernández
6ff29715e6 ItEr58S14RecalculosConexionEscenariosItEr57S15: Expose methods for getting start constraints 2010-05-19 17:45:14 +02:00
Óscar González Fernández
8a17ed629c ItEr58S14RecalculosConexionEscenariosItEr57S15: Rename method to a more meaningful name 2010-05-19 17:45:14 +02:00
Óscar González Fernández
008f581d2f ItEr58S14RecalculosConexionEscenariosItEr57S15: Allow to reuse DependencyType with another types of tasks 2010-05-19 17:45:14 +02:00