Monday, July 8, 2019
3 changes
Enhancements to existing features
When users create a state from a city's related country page, the country field is now filled in automatically from the parent record. This reduces manual entry and helps avoid assigning states to the wrong country.
Original PR description
Description of the issue/feature this PR addresses: Automatically fill in country Current behavior before PR: If you go to a country and click on the "Cities" smart button you will see all cities related to that country. When you click on "Create" to add a new city to the country by default the country is filled in. If you then want to attach a state to this country the country is not filled in automatically for the state, while we have it available on the parent form:  Desired behavior after PR is merged: The country is automatically filled in if the parent record has a country set:  -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Journal Entries form now hides the Reconciled Entries button when there are no linked reconciliations. This reduces visual clutter and helps users focus only on actions that are relevant to the current entry.
Original PR description
Pad:https://pad.odoo.com/p/r.2a5096125e65f4b3429d4d3f53941d29 Task:https://www.odoo.com/web?debug=assets#id=1935597&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
This update adds shared employee unavailability helpers in the HR module so planning and forecasting tools can consistently identify when employees are not available. It reduces duplicated integration work and supports more reliable scheduling views in enterprise features.
Original PR description
Those 2 methods are used in enterprise (for now) in order to get employee unavailabilities. This is used for planning and forecast gantt view. As we didn't want to create a bridge module for those 2 methods, we place them here as 'hr' is the only one common dependency between forecast and planning. Task-2024216 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