Thursday, July 8, 2021
4 changes · master
Resolved issues and error corrections
This fixes a display problem in the email template preview where a referenced field could collapse to zero width and become hard to read. Users reviewing mail templates will now see the related field properly, making template previews clearer and more reliable.
Original PR description
The field resource_ref in the template preview was of `width: 0!important` because of a the class `o_row` added when the options `model_field` was not provided. This fix provides the name of the field (`model_id`) to the option. 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 fixes an issue where users could not open or use status selection dropdowns directly from list views. The dropdown now displays properly, and choosing an option no longer accidentally opens or edits the full record.
Original PR description
currently, when clicking on an editable state_selection widget in listview, the dropdown is not displayed. this is happening because overflow of cell was hidden. after this commit, now when clicking on an editable state_selection widget in listview, the dropdown is displayed. change overflow to visible. also have to stop event to propagate when select option from drop down is not so formview will for record will open. Task - 2485883 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 fix prevents employees and managers from choosing time off types that are no longer valid or have expired when creating leave or allocation requests. It helps avoid incorrect requests and reduces follow-up corrections by keeping unavailable options out of the selection list.
Original PR description
Previously the domain in the view for the leave request didn't check for the time off type validity, this fix aims to remove that possibility. Also prevents from selecting expired time off types in allocation requests. Task ID: 2578150
The accounting reports test setup was adjusted to follow the newer rule that journals must be posted before they are archived. This keeps automated checks aligned with current accounting behavior and helps prevent false test failures.
Original PR description
It is not allowed to post in an archived journal anymore. [task-2516060](https://www.odoo.com/web#id=2516060&model=project.task) Related: https://github.com/odoo/odoo/pull/71851