Monday, February 24, 2020
4 changes
Resolved issues and error corrections
This fixes an issue where employee expense analytics information could be erased when no default analytic account was found. It keeps expense entries more reliable and prevents related expense tests from failing when the analytic default integration is installed.
Original PR description
_onchange_product_id used to set hr_expense analytic_account_id & analytic_tag_ids to False if it could not find a default analytic account. 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 - check if account_get() returns something Related to task 2182900
This fixes an internal issue in Point of Sale order updates by removing an incorrect marker from the order write process. The change helps ensure POS order changes are handled as intended, reducing the risk of unexpected behavior for users.
Original PR description
Follow-up on 118190f3b3ecde11d7bcb46301af0e016d6ea19f Remove the wrong decorator from the write method. 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 change removes an incorrect setup marker from the Alipay payment update process. It helps ensure Alipay payment settings can be saved using the intended standard behavior, reducing the risk of unexpected errors for administrators.
Original PR description
Remove the wrong decorator from the write method. 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
Fixed an issue that caused an error when users grouped timesheets by date in the grid view. Date grouping remains available where it is useful, such as list views, while the grid now avoids the problematic behavior.
Original PR description
Before this commit, when we try to make a group by date in timesheet grid, we have a traceback. This group by date is useless in grid view but very useful for list view. Now, when we make a group by date in the timesheet grid, we don't apply the group_expand. TaskID: 2169272