Commit graph

6715 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
fca805d4f8 Disable configuration button for assignment functions not configurable.
FEA: ItEr75S23FixAllocationModel
2011-08-26 17:23:07 +02:00
Pablo Fernández de la Cigoña Nóvoa
e4473f7ac3 Added profile_test.sah into user folder
new file: scripts/functional-tests/users/profile_test.sah

FEA: ItEr75S18DataTypesTests
2011-08-26 12:43:09 +02:00
Pablo Fernández de la Cigoña Nóvoa
e91c979290 Include file all_data_type_test.suite which allow run all data type test
new file: scripts/functional-tests/data-types/all_data_type_test.suite
testrunner.sh was modified to allow run tests just one by one

FEA: ItEr75S18DataTypesTests
2011-08-26 12:38:49 +02:00
Pablo Fernández de la Cigoña Nóvoa
0f77a2c748 Added work report model data type tests
new file:   scripts/functional-tests/data-types/work_report_model_test.sah

FEA: ItEr75S18DataTypesTests
2011-08-26 11:57:14 +02:00
Manuel Rego Casasnovas
568cb354b6 If a task has manual allocation and is moved then reset to flat
* Add function isManual in AssignmentFunction
* Modified AssignmentFunction::applyAssignmentFunctionsIfAny in order to
  reset to flat if manual allocation was applied

FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:27 +02:00
Manuel Rego Casasnovas
5e2f50d082 Add function isSigmoid in IAssignmentFunctionConfiguration
FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:27 +02:00
Manuel Rego Casasnovas
bed8715973 Rename assignment function name enum
FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:27 +02:00
Manuel Rego Casasnovas
68ecab06df AssignmentFunction is now an abstract class.
Methods applyTo and getName are abstract too.

FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:27 +02:00
Manuel Rego Casasnovas
9af9bde497 Add ManualFunction for advanced allocation
When user edits manually the hours in advanced allocation, assignment
function is changed to Manual.

FEA: ItEr75S23FixAllocationModel
2011-08-26 11:28:26 +02:00
Lorenzo Tilve Álvaro
7b89bd5388 [Bug #1163] Included .js file in component for scroll synchronization with timetracker
FEA: ItEr75S04BugFixing
2011-08-26 10:53:08 +02:00
Lorenzo Tilve Álvaro
0cd9a4297a [Bug #1163] Fixed visibility of allocation panel scroll bars
FEA: ItEr75S04BugFixing
2011-08-26 10:45:45 +02:00
Lorenzo Tilve Álvaro
93c10a3ec1 Fixed transparency problems in stretches function configuration window
FEA: ItEr75S08MigrationZK5
2011-08-26 10:43:04 +02:00
Lorenzo Tilve Álvaro
b0c6fa15d8 Fixed width issues in reassignment popup
FEA: ItEr75S04BugFixing
2011-08-26 10:41:34 +02:00
Óscar González Fernández
152a50573c [Bug #1165] Fix bug
Use reattachment of the order. This allows that not all the data of
the order must be loaded when creating the PlanningState for the first
time. For example, the advance assignments don't need to be loaded
anymore.

FEA: ItEr75S04BugFixing
2011-08-25 20:03:28 +02:00
Óscar González Fernández
4d46a7d10b [Bug #1165] Fix bug
Force load advance assignments.

FEA: ItEr75S04BugFixing
2011-08-25 19:30:45 +02:00
Óscar González Fernández
218dac5219 Fix exception when going to the resource load directly
Creating a new planning state must be done inside a transaction.

FEA: ItEr75S04BugFixing
2011-08-25 19:13:15 +02:00
Manuel Rego Casasnovas
99a85fac5c Use Listbox instead of Combobox in functions column of advanced allocation window
FEA: ItEr75S23FixAllocationModel
2011-08-25 11:04:27 +02:00
Manuel Rego Casasnovas
d14079cacd Reduce width for efforts column in advanced allocation
Now there're more space for name column.

FEA: ItEr75S23FixAllocationModel
2011-08-25 09:52:42 +02:00
Manuel Rego Casasnovas
85d40ad0e8 Fix wrong message in configuration button of functions
In advanced allocation some functions are not configurable (flat and
sigmoid), now a proper message is shown in these cases.

FEA: ItEr75S23FixAllocationModel
2011-08-24 20:15:57 +02:00
Pablo Fernández de la Cigoña Nóvoa
b2aff695e5 Create a new folder which includes user tests and include user_test.sah
new file:   scripts/functional-tests/users/user_test.sah

FEA: ItEr75S18DataTypesTests
2011-08-24 18:52:59 +02:00
Manuel Rego Casasnovas
7371806d18 Rename None function to Flat in resource allocation
FEA: ItEr75S23FixAllocationModel
2011-08-24 18:25:02 +02:00
Óscar González Fernández
a29553fc97 Reattach the planning state if exists
Otherwise the resources of the allocations and the resources queried
would be different instances for the same entities and some
calculations would be uncorrect.

FEA: ItEr75S04BugFixing
2011-08-24 14:29:25 +02:00
Óscar González Fernández
c71373060b Fix percentage calculation
If the assigned effort is zero, the percentage is zero.

FEA: ItEr75S04BugFixing
2011-08-24 14:16:50 +02:00
Óscar González Fernández
dd99732c05 [Bug #1164] Fix bug
Remove no needed reattachment. The code is already executed inside a
transaction.

FEA: ItEr75S04BugFixing
2011-08-24 14:05:27 +02:00
Pablo Fernández de la Cigoña Nóvoa
a7a043b4f5 Added check Code label functions in all data type tests
FEA: ItEr75S18DataTypesTests
2011-08-23 20:41:15 +02:00
Javier Moran Rua
26196e69ee [doc] Links the help of report 'Work and progress per project' to the help icon. 2011-08-23 20:15:35 +02:00
Javier Moran Rua
725c552c79 [doc] Added help for report 'Work and progress per project' in Galician 2011-08-23 20:15:35 +02:00
Javier Moran Rua
5df06f6ef0 [doc] Added help for report 'Work and progress per project' in Spanish. 2011-08-23 20:15:35 +02:00
Javier Moran Rua
43914986a6 [doc] Added help for report 'Work and progress per project' in English. 2011-08-23 20:15:35 +02:00
Manuel Rego Casasnovas
2c7619850f Removed unused variable in loops.
FEA: ItEr75S04BugFixing
2011-08-23 19:54:26 +02:00
Manuel Rego Casasnovas
95d210b39b Fix issue when moving a task with an assignment function.
Now assignment function is applied again in destination.

For StretchesFunction a new method was needed in order to update
stretches dates in destination.
Actually, dates shouldn't be stored in Stretch class. This should be
changed in the future.

FEA: ItEr75S23FixAllocationModel
2011-08-23 19:54:26 +02:00
Óscar González Fernández
a893c303a4 Fix typo
FEA: ItEr75S04BugFixing
2011-08-23 18:19:31 +02:00
Pablo Fernández de la Cigoña Nóvoa
cb61c010a9 Include logs in all the data type tests.
FEA: ItEr75S18DataTypesTests
2011-08-23 09:50:25 +02:00
Pablo Fernández de la Cigoña Nóvoa
c579a50d9f Added new test to criteria_test.sah file and include respective functions on the common_function.sah file
Included Check code test:
 * Change configuration
 * Try to create a new Criterion without Code (it should be a failure)
 * Change configuration like before

FEA: ItEr75S18DataTypesTests
2011-08-22 17:07:44 +02:00
Pablo Fernández de la Cigoña Nóvoa
133578ea42 Adds work hours data type test
new file: scripts/functional-tests/data-types/work_hours_test.sah

FEA: ItEr75S18DataTypesTests
2011-08-22 11:57:46 +02:00
Manuel Rego Casasnovas
bb41783930 [Bug #1139] Fix several tests due to new constraint in defaultPrice
FEA: ItEr75S04BugFixing
2011-08-22 11:38:32 +02:00
Manuel Rego Casasnovas
5886585908 [Bug #1139] Add constraint on UI to show warning in work hours without default price
FEA: ItEr75S04BugFixing
2011-08-22 11:22:22 +02:00
Cristina Alvarino
172ca26fb5 [Bug #1139] Do not save work hour without default price
FEA: ItEr75S04BugFixing
2011-08-22 11:21:59 +02:00
Óscar González Fernández
aeccf3c1b3 Unify state of resource load's chart
Major refactorings also done at ResourceLoadModel.

FEA: ItEr75S11PreventLooseChangesWIP
2011-08-19 19:41:05 +02:00
Javier Moran Rua
6837eea030 [doc] Links the help of report 'Total worked hours per resource in a month' to the help icon. 2011-08-18 18:19:47 +02:00
Javier Moran Rua
d984c9d0d7 [doc] Added help for report 'Total worked hours per resource in a month' in Galician 2011-08-18 18:19:40 +02:00
Javier Moran Rua
ac46f5c465 [doc] Added help for report 'Total worked hours per resource in a month' in Spanish 2011-08-18 17:52:51 +02:00
Javier Moran Rua
982ae23234 [doc] Added help for report 'Total worked hours by resource in month' in English 2011-08-18 17:52:37 +02:00
Javier Moran Rua
511325fa7a [doc] Links the help of report 'Hours Worked per resource' to the help icon. 2011-08-17 19:43:33 +02:00
Javier Moran Rua
4268f17f79 [doc] Added help for report 'Hours worked by resource' in Galician. 2011-08-17 19:43:33 +02:00
Javier Moran Rua
6d45c0f5ee [doc] Added help for report 'Hours worked by resource' in Spanish. 2011-08-17 19:43:33 +02:00
Javier Moran Rua
de67dfea80 [doc] Added help for report 'Hours worked by resource' in English. 2011-08-17 19:43:20 +02:00
Óscar González Fernández
d11259c34f Ignore log files
FEA: ItEr75S04BugFixing
2011-08-16 13:16:46 +02:00
Manuel Rego Casasnovas
2381b4e709 [doc] Updated development documentation to new BaseCRUDController class
FEA: ItEr75S03CommunityMaterial
2011-08-15 14:00:52 +02:00
Lorenzo Tilve Álvaro
8da7b717f5 Fixed alignment problems in gantt taskdetails cells
FEA: ItEr75S08MigrationZK5
2011-08-12 19:04:19 +02:00