Monday, June 24, 2019
5 changes
Enhancements to existing features
The HR time off demo data now schedules Marc's sick leave over three days instead of two. This prevents the example leave from falling only on a weekend when the month starts on a Saturday, making the demo data more realistic and consistent.
Original PR description
In demo data, Marc demo was taking a sick leave during the first and second of the month, the problem is that when the current month starts with a saturday this leave ends up being placed only during the week-end hence no leave should have been taken. In order to avoid having this weird leave, Marc demo will now take three days of sick leave Description of the issue/feature this PR addresses: 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
This update cleans up internal product attribute validation by removing redundant inputs from the validation process. It should make the product code easier to maintain without changing day-to-day user behavior.
Original PR description
`_has_valid_attributes` took 2 parameters that were depending on `self`, so they were redundant. Description of the issue/feature this PR addresses: 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
The sales timesheet demo data now links previously standalone tasks to a project created from a sales order. This makes demo scenarios easier to understand by showing tasks in the right project and workflow stages.
Original PR description
previously sale_timesheet created orphans task. This commit links them to a project and adds stages to that project and it's tasks. related task #1985386 Description of the issue/feature this PR addresses: Some tasks created by demo data made demo confusing Current behavior before PR: 4 orphan tasks were created in sale_timesheet Desired behavior after PR is merged: These tasks are linked to aproject created by a sale order and are set in stages -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Opening product variants from the product stat button no longer allows users to create or import new variants from that list view. This avoids unsaved or unintended variant records being created while working from a product template.
Original PR description
Description of the issue/feature this PR addresses: <b>Task:</b> https://www.odoo.com/web?#id=1916037&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 <b>Pad:</b> https://pad.odoo.com/p/r.2198dd82976a4632aa525d5c7d517f72 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
Demo data for sales timesheet forecasting now identifies the right task more reliably when multiple project tasks exist. This keeps sample forecasts connected to the intended task, making demonstrations and test databases clearer and more consistent.
Original PR description
previously sale_timesheet created orphans task. Another commit in community links them to a project and adds stages to that project and it's tasks. Problem is that this project's only task was being linked to demo forecasts. Since it was the only one task the search for it was too simple to keep working when more were added. related task #1985386