odoo/odoo#237225
Created by fw-bot
Merged
at 11c83d6ac01fa901650864195126dbabb4753178
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/documentation: (runtime 932s)
- label
- odoo-dev:master-16.0-opw-4633121-uneditable_timesheet_entry_in_reversed_invoice-soty-479654-fw
- head
- ab0c2f856d2285469f26d0c0df800431da9662c5
- merged
- 9 months ago by Fun Services, Xavier Bol (xbo)
| odoo/odoo | |
|---|---|
| 16.0 | #201921 |
| 17.0 | #234108 |
| 18.0 | #236576 |
| saas-18.2 | #236601 |
| saas-18.3 | #237179 |
| saas-18.4 | #237202 |
| 19.0 | #237216 |
| saas-19.1 | |
| saas-19.2 | |
| saas-19.3 | |
| saas-19.4 | |
| master | #237225 |
[FIX] sale_timesheet: make timesheet entries editable in reversed invoice
Issue:
Timesheet entries linked to reversed invoices are uneditable.
Steps to reproduce:
- Create a service product invoiced by timesheets, and create a project & task.
- In Sales, create a new quotation with the product.
- Confirm the quotation, click on the task, and create a timesheet entry.
- Create an invoice from the quotation.
- Confirm the invoice, add a credit note, and reverse the invoice.
- Go to the reversed invoice and access the timesheet through recorded hours.
the timesheet entry is uneditable, even though the invoice is reversed.