Content
View differences
Updated by Klaus Zanders 1 day ago
### Steps to reproduce
1. As an administrator, create two projects, **A** and **B**, both with the _Time and costs_ module enabled.
2. Add user **U** as a member of both projects, with a role permitting _Log time_ and _View work packages_.
3. Go to _Administration → Users → U → Rate history_ and set an hourly rate for **U** of **10.00 EUR** in project **A** and **99.00 EUR** in project **B**, both valid from now.
4. Create work package in project **A**.
5. Log **2 hours** on the WP for user **U**.
6. Open _Time and costs_ and confirm the labor costs for that entry are **20.00 EUR** (2 h × 10.00 EUR).
7. Open work package, change its **Project** from **A** to **B**, and save.
8. Open _Time and costs_ again and filter on project **B**.
9.
### What is the buggy behavior?
* The time entry is correctly reassigned to project **B** — it now appears in project B's cost report and no longer in project A's.
### What is the buggy behavior?
* Its labor costs are still **20.00 EUR**, calculated with project **A**'s rate of 10.00 EUR/h.
### What is the expected behavior?
1. After the move, the time entry's costs should be recalculated against the target project's rate: **198.00 EUR** (2 h × 99.00 EUR).
1. As an administrator, create two projects, **A** and **B**, both with the _Time and costs_ module enabled.
2. Add user **U** as a member of both projects, with a role permitting _Log time_ and _View work packages_.
3. Go to _Administration → Users → U → Rate history_ and set an hourly rate for **U** of **10.00 EUR** in project **A** and **99.00 EUR** in project **B**, both valid from now.
4. Create work package in project **A**.
5. Log **2 hours** on the WP for user **U**.
6. Open _Time and costs_ and confirm the labor costs for that entry are **20.00 EUR** (2 h × 10.00 EUR).
7. Open work package, change its **Project** from **A** to **B**, and save.
8. Open _Time and costs_ again and filter on project **B**.
9.
### What is the buggy behavior?
*
### What is the buggy behavior?
### What is the expected behavior?
1. After the move, the time entry's costs should be recalculated against the target project's rate: **198.00 EUR** (2 h × 99.00 EUR).