Wednesday, February 26, 2020
3 changes · master
Resolved issues and error corrections
This fix prevents expense entries from automatically replacing existing analytic account or tag selections when a product changes. It keeps user-entered accounting details intact while still applying defaults when fields are empty, reducing errors and test failures in expense workflows.
Original PR description
_onchange_product_id used to always (re)set hr_expense analytic_account_id & analytic_tag_ids to default values. Or set those to false if no defaukt values are found. Installing account_analytic_default_hr_expense made odoo/addons/hr_expense/tests/test_expenses.py tests fail - changed function name (no need to be a _onchange_product_id override) - removed super() & return - only set default value to var if var is False Related to task 2182900
The reset password page now uses a more consistent layout size matching the login form. This provides a cleaner, more predictable experience for users who need to recover access to their account.
Original PR description
Description of the issue/feature this PR addresses: Purpose:- Enhance the screen layout and fix the size of screen Specification:- To do that, we keep the screen size 300px as in the login form. PR #45350 Task-2191603 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 corrects an internal lookup so the sales timesheet purchasing feature uses the current invoice field name. It helps prevent errors after a recent accounting model change, keeping related project overview information working as expected.
Original PR description
The 'type' field in the 'account.move' model has been recently renamed to 'move_type'. This bug fix consists in using the new field name in the search call. task: 2201705 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr