Monday, September 5, 2016
6 changes · master
Security fixes and vulnerability patches
This update splits broad HR access into more specific manager roles for areas such as contracts, expenses, leave, payroll, timesheets, and recruitment. Businesses can assign permissions more precisely, reducing unnecessary access while keeping managers able to handle their own HR responsibilities.
Original PR description
Description of the issue/feature this PR addresses: Split HR access rights. Task: https://www.odoo.com/web#id=24161&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.6f83b804b5e31dd59fde71101228cb85 Current behavior before PR: Desired behavior after PR is merged: ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
When the sample project is archived, its related sample tasks are now archived as well. This prevents users from seeing active tasks that belong to an inactive project, reducing confusion in project views and reports.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web#id=27931&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.329ecb72fdf64117d17dc3457e56a1b6 Current behavior before PR: Project is archived, but its tasks is not archived. Desired behavior after PR is merged: Project + Tasks of a project should be archived. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
Timesheet entries now include the employee's related account so labor costs are recorded correctly for analytic entries and reinvoicing. This helps ensure employee costs flow through accurately when timesheets are used for billing.
Original PR description
TASK:https://www.odoo.com/web#id=28372&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720 … timesheets When we create a timesheet activity, it create an analytic line that allows to re-invoice the costs from the employee. If the account_id is not set on the analytic account line, the employee cost is not passed correctly on the Analytic Entries, which is not the behavior we should expect. This commit simply adds a account_id on the employee and this account is returned with the cost and the uom by the method `_get_timesheet_cost`
Project issue screens are reorganized and adjusted to make task and issue options easier to discover on project forms and quick-create flows. Issue reporting is also simplified by removing outdated report fields and filters and by making email counts more accurate for business analysis.
Original PR description
Task: https://www.odoo.com/web#id=28079&view_type=form&model=project.task&action=327&menu_id=4720
The Cost Structure Analysis report is no longer shown in the print menu for products and manufacturing orders. Users can still access the same report from the existing form button, reducing duplicate options and making the menu clearer.
Original PR description
Task: https://www.odoo.com/web#id=28128&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.f73e71de9fc93fd387bf851b3610af4a [IMP] mrp_account: Hide "cost structure analysis" from print menu because same report opened from state button of form view ..
Excel exports now leave cells blank when a linked record field has no value, instead of showing a confusing 0. This makes exported spreadsheets easier to read and reduces the chance of users misinterpreting empty data as a real value.
Original PR description
## Description of the issue/feature this PR addresses: Improve standard Excel export readability for many2one fields: replace meaningless "0" by "" ## Current behavior before PR: With standard Excel export including m2o, you get an '0' in each cell where m2o returns no value. Then if you have a lot of m2o in your export, '0' values is the first thing you see, it makes the export difficult to read and wrong. ## Desired behavior after PR is merged: When m2o return False, we should have no value in the cell. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr