Commit graph

7762 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
7f5184b78d Change mapping between SumChargedEffort and OrderElement
A database refactoring has been added to make this change keep working and avoid
lose any data.

It was needed to use specific procedures for PostgreSQL and MySQL.

FEA: ItEr76S14ConcurrencyProblemWorkReports
2012-03-30 15:13:12 +02:00
Manuel Rego Casasnovas
fcf8d44340 doc: Fix broke link in INSTALL file
FEA: ItEr76S03Community
2012-03-30 15:02:30 +02:00
Manuel Rego Casasnovas
9822389fa1 doc: Update information about how to install in Fedora and openSUSE
FEA: ItEr76S03Community
2012-03-30 14:57:43 +02:00
Manuel Rego Casasnovas
1e82ad7d6d doc: Add info about JAVA_OPTS configuration in INSTALL file
FEA: ItEr76S03Community
2012-03-30 13:51:33 +02:00
Jacobo Aragunde Pérez
2df0bac3d8 Rebase the code of the .zul pages for the templates screen.
I did it so it matches the three file structure we used in many other screens
(main, list, edit).
2012-03-28 20:11:58 +02:00
Susana Montes Pedreira
c2683547d2 [Bug #1234] Fix the deletion of fields in progress reporting in subcontractor module.
FEA: ItEr74S04BugFixing
2012-03-28 12:47:18 +01:00
Manuel Rego Casasnovas
92bef8a27d Fix problems in Liquibase changes in MySQL
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-28 11:27:26 +02:00
Manuel Rego Casasnovas
979ac144b1 Merge branch 'money-cost-monitoring-system' 2012-03-27 17:51:02 +02:00
Manuel Rego Casasnovas
8d37e716e6 Merge branch 'libreplan-1.2' into money-cost-monitoring-system 2012-03-27 17:26:21 +02:00
Manuel Rego Casasnovas
aa2e40092d doc: Add info about add-apt-repository command in INSTALL file 2012-03-27 11:21:55 +02:00
Manuel Rego Casasnovas
112a243383 doc: Add info about add-apt-repository command in INSTALL file 2012-03-27 11:21:36 +02:00
Jacobo Aragunde Pérez
749de4e569 Bug #1387: Code refactor of the previous patches for this bug.
FEA: ItEr76S04BugFixing
2012-03-27 10:52:13 +02:00
Jacobo Aragunde Pérez
21df77d458 Bug #1387: Fix bug when it happens in the opposite way.
This fixes when you have a container task which is a scheduling point, and you
unschedule it to schedule its children. This is the opposite to the original
description of the bug, but the cause is the same.

FEA: ItEr76S04BugFixing
2012-03-27 10:52:09 +02:00
Óscar González Fernández
d6468ddd1c Bug #1387: Fix bug
Possible fix of the first problem. It looks into the
SchedulingDataForVersion instead of the data to see the status in the
database instead of in memory so the synchronizations sent to the
database are ok.
2012-03-27 10:51:59 +02:00
Jacobo Aragunde Pérez
398aab26ba Bug #1387: Code refactor of the previous patches for this bug.
FEA: ItEr76S04BugFixing
2012-03-27 10:45:05 +02:00
Jacobo Aragunde Pérez
5d8860474b Bug #1387: Fix bug when it happens in the opposite way.
This fixes when you have a container task which is a scheduling point, and you
unschedule it to schedule its children. This is the opposite to the original
description of the bug, but the cause is the same.

FEA: ItEr76S04BugFixing
2012-03-27 10:38:53 +02:00
Manuel Rego Casasnovas
88e39eabd8 Show budget information in a read-only field inside task properties tab
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-27 10:07:31 +02:00
Óscar González Fernández
a20fc0ec1f Bug #1387: Fix bug
Possible fix of the first problem. It looks into the
SchedulingDataForVersion instead of the data to see the status in the
database instead of in memory so the synchronizations sent to the
database are ok.
2012-03-27 09:54:47 +02:00
Manuel Rego Casasnovas
065acc4a29 Change color of money cost bar to a darker one to avoid accessibility issues
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-27 09:48:26 +02:00
Manuel Rego Casasnovas
e5f00bb8a1 Bug #1403: Only regenerate codes if isCodeAutogenerated() is true
FEA: ItEr76S04BugFixing
2012-03-26 18:32:57 +02:00
Manuel Rego Casasnovas
16e3d1860e Bug #1403: Only regenerate codes if isCodeAutogenerated() is true
FEA: ItEr76S04BugFixing
2012-03-26 18:30:33 +02:00
Manuel Rego Casasnovas
65fcc3e0f1 Add a map in MoneyCostCalculator to cache calculated values
This prevents to recalculate money cost when it was already calculated before.
The map with the cached values is reseted every time you enter in a project
(when PlanningState is created).

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-26 10:39:15 +02:00
Manuel Rego Casasnovas
120534e6ff Disable Money Cost Bar in company view to avoid performance issues
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-26 10:27:15 +02:00
Lorenzo Tilve Álvaro
f50806e51e Bug #1289: Added subcontractor name to tasks when showing resources is enabled
The name of the subcontractors are not being displayed when the container is collapsed. The
expected behaviour also might consider painting the parent node differently when it only contains
subcontracted elements.

FEA: ItEr76S04BugFixing
2012-03-24 13:00:06 +01:00
Lorenzo Tilve Álvaro
ff2f2298cf Bug #1289: Added subcontractor name to tasks when showing resources is enabled
The name of the subcontractors are not being displayed when the container is collapsed. The
expected behaviour also might consider painting the parent node differently when it only contains
subcontracted elements.

FEA: ItEr76S04BugFixing
2012-03-24 12:54:16 +01:00
Manuel Rego Casasnovas
9f0be7c949 Remove unneeded throws in MoneyCostCalculatorTest
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-23 11:55:01 +01:00
Manuel Rego Casasnovas
49d8d2753b Add unit tests to check MoneyCostCalculator with a different type of hours
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-23 11:53:18 +01:00
Manuel Rego Casasnovas
d6a85faa0f Remove commented lines in MoneyCostCalculatorTest
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-23 11:14:03 +01:00
Manuel Rego Casasnovas
ad4849881f Update Copyright info in user documentation 2012-03-23 10:35:16 +01:00
Manuel Rego Casasnovas
f4006a8d66 Update Copyright info in user documentation 2012-03-23 10:34:08 +01:00
Manuel Rego Casasnovas
73f883127f Improve sentence in "Imputed hours" tab editing a task 2012-03-21 16:02:23 +01:00
Manuel Rego Casasnovas
9819e0cad5 Improve sentence in "Imputed hours" tab editing a task 2012-03-21 16:01:28 +01:00
Manuel Rego Casasnovas
e11ebf485c Add information about budget in "Imputed hours" tab
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-21 15:47:58 +01:00
Manuel Rego Casasnovas
0b35f7dd5e Add unit tests to check MoneyCostCalculator with a tree of tasks
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-21 13:48:49 +01:00
Manuel Rego Casasnovas
80011a0245 Remove unused parameters in CutyPrint.createCSSFile 2012-03-20 18:12:23 +01:00
Manuel Rego Casasnovas
36e14c5c6a Remove unused parameters in CutyPrint.createCSSFile 2012-03-20 18:10:56 +01:00
Manuel Rego Casasnovas
7500675a41 Add option to print money cost bar
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-20 17:58:13 +01:00
Manuel Rego Casasnovas
0eb5f7bc46 Add a new test case to check MoneyCostCalculator when there is not relationship via cost category
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-20 16:36:58 +01:00
Manuel Rego Casasnovas
5da1e11b26 Prevent possible rounding problems dividing BigDecimals
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 18:17:47 +01:00
Manuel Rego Casasnovas
79573836b1 Prevent NPE if there is not relationship between resource and type of hours via cost category
In that case the default price for the hours type is used.

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 18:17:04 +01:00
Manuel Rego Casasnovas
42ea25bd9f Reload budget field in "General data" of templates
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 18:07:47 +01:00
Manuel Rego Casasnovas
a2e07d0a9b Add field in "General data" tab to show the project budget
For the moment this is a new field called "Calculated budget" till we don't
decide what to do with the other budget related fields.

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 18:00:29 +01:00
Manuel Rego Casasnovas
aa7fb6dada Print Money Cost Bar proportinal to task size
Create two new methods in IntraDayDate:
* effortUntil
* addEffort

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 17:51:21 +01:00
Manuel Rego Casasnovas
cb55f928b6 Prevent NPE calculating money cost for a TaskElement
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 12:52:15 +01:00
Manuel Rego Casasnovas
0d1cff5feb Remove method getMoneyCostBarPercentage from ITaskFundamentalProperties
This method is not need as it's only used in a private method inside
TaskElementAdapter.

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 12:44:38 +01:00
Manuel Rego Casasnovas
79accc0c66 Improve tooltip message using budget, consumed money and percentage
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 12:23:18 +01:00
Manuel Rego Casasnovas
ac430aba6a Using the new MoneyCostCalculator to print the new Money Cost bar
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 12:23:18 +01:00
Manuel Rego Casasnovas
213e68c36e Implement money cost calculation in a new class called MoneyCostCalculator
Add a basic test to check that everything is working as expected

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 11:22:14 +01:00
Manuel Rego Casasnovas
27579c0bfd Fix Money Cost Bar position in containers
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-16 13:21:36 +01:00
Manuel Rego Casasnovas
277ef6e947 Add money cost percentage in the tooltip
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-16 12:38:23 +01:00