Wednesday, January 20, 2021
2 changes · master
Enhancements to existing features
This update streamlines how projects, timesheets, sales orders, and invoices work together in Odoo’s service apps. It removes outdated screens and buttons, improves portal timesheet search, and makes billing-related project data more reliable and faster to use.
Original PR description
Purpose ======= This PR is in continuity of #62360 and #62900 done in 14.0. The goal of this PR essentially updates and improves the changes done in 14.0. ## Details - Remove the context key added in…
Purpose
=======
This PR is in continuity of #62360 and #62900 done in 14.0.
The goal of this PR essentially updates and improves the changes done in 14.0.
## Details
- Remove the context key added in 14.0 to keep the 'Create Sale Order' button in task and helpdesk.ticket. Because at the end we remove this button in these models.
- Remove non_allow_billable field in tasks and timesheets.
- Remove the partner_email from task form view.
- Remove timesheet_product_id from task form view
- Merge sale_timesheet_edit module with sale_timesheet module.
- Remove timesheet table in portal sales order and invoice (deprecated templates in #62900).
- Remove override of project kanban controller (deprecated file from #62360).
- Store remaining_hours field in sale.order.line model (this field has been introduced in the following PR #62900).
- Remove _onchange_task_id_employee_id, the process in the method is done in _compute_so_line.
- Merge bill_type and pricing_type in project.project.
- Move partner_id field in project form view.
- Remove value selected in SO and SOL in project if the customer does not fit with the SO selected.
- Changes SOL in mapping when the pricing type of the current project is "employee rate" if the customer changes.
- Hide the timesheet_product_id field if the project is not a fsm project.
- Move sql constraint for timesheet_product_id in industry_fsm_sale, because this field is no longer mandatory in project which is not fsm project.
- Changes the search of timesheets in portal > timesheets.
- we allows the user to search with name of SO and invoice to find the timesheets about the wanted SO or invoice rathan than the id of SOL and invoice.
- Move View Timesheets button in portal > invoice
- Remove deprecated codes.
- Miscellaneous fixes.
Task-2424382
Co-authored-by: Laurent Stukkens (LTU) <ltu@odoo.com>Resolved issues and error corrections
Mobile form layouts now keep related fields together, such as quantities with their units, instead of forcing every field onto a full-width line. This improves data entry clarity in areas like Time Off and Manufacturing while aligning mobile behavior with desktop forms.
Original PR description
Before this commit o_row class wasn't applied on mobile because we wanted that each field take all width. But we have noticed that this class is quite well used on desktop and is often used for specic cases that we also want on mobile. Example: Unit of measure (UOM) next to a numeric field. So in this commit, we simply removed mobile media queries. Due to the number of places where this class is used, fixes will surely follow. Related to task ID: 1929043