Thursday, January 2, 2020
10 changes · master
Resolved issues and error corrections
Vietnam company setups now enable Anglo-Saxon accounting by default. This aligns the localization with the intended accounting behavior and reduces manual setup for businesses using the Vietnam package.
Original PR description
Description of the issue/feature this PR addresses: task- 2124104 Current behavior before PR: anglo-section accounting is false default for Vietnam. Desired behavior after PR is merged: anglo-section accounting by default true. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The SMS Template Preview option is removed from the general action dropdown because it only makes sense for one template at a time. Users can still preview a template from its form view, reducing confusion and preventing inappropriate bulk preview actions.
Original PR description
'Template Preview' action shouldn't be accessible through the action dropdown (Or at least from List view). It is already accessible on the Template's Form view as Smart Button. Description of the issue/feature this PR addresses: SMS module Current behavior before PR: This action as not needed (and also It doesn't makes sense for Previewing multiple Templates) as we already have Smart Buton for this  Desired behavior after PR is merged: No action for Preview template Cc @tde-banana-odoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
On mobile, opening My Profile or Preferences now closes the burger menu instead of leaving it over the page. This prevents the profile screen from appearing hidden in the background and makes account settings easier to access.
Original PR description
Pad: https://pad.odoo.com/p/r.5ee0064ab08e266dba260942c5d54e58 Task: https://www.odoo.com/web?#id=2152160&action=327&model=project.task&view_type=form&menu_id=4720
Suggested message recipients now refresh immediately after a user saves changes to a record, such as updating an email address. This prevents outdated recipient information from appearing in the message composer and reduces the need for users to reload or switch composer modes.
Original PR description
Task:https://www.odoo.com/web#id=2089816&action=333&active_id=1251&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.8da15de40cf2d0a46dd9e9c9107c0538 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix corrects how unavailable time is shown for manufacturing work centers in the planning view. It helps planners see accurate downtime and avoid scheduling work during periods that should be blocked, including maintenance-related unavailability.
Original PR description
_get_unavailability_intervals didn't return the correct dict (describe in the docstring). Then the override in maintenance module was wrong.
This update tidies the displayed names of Chinese tax records so they are clearer and more consistent for users. It helps accounting teams identify the correct taxes more easily without changing tax behavior or calculations.
Original PR description
Description of the issue/feature this PR addresses: task-2157487 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
Fixes an issue in the website editor where selected cover layout properties could fail to save because the wrong menu item was being read. This helps website editors keep their chosen cover settings reliably after making changes.
Original PR description
In 2cc8316c669, the cover properties snippet option was refactored to using a single data attribute per select instead of repeating it on every button inside of it. After selecting an option, the corresponding data attribute would be set on the cover container by finding the currently active button and copying its select class attribute. However, because of an oversight, instead of finding the currently active button inside the select, the option would find any active item inside of the select, and because the select is always open when a button inside is clicked, the first active item inside of the select is its toggler. This commit fixes that by increasing the specificity of the selector that finds the active button to only find buttons, and not the select-menu toggler.
This fixes how manufacturing work order quality check data is prepared so filters work reliably. It also restores the expected company-specific filtering behavior, helping users see the correct quality points in multi-company setups.
Original PR description
Commit 0e749c1 introduced computed one2many `component_ids` as a set. A one2many computed should be returned as list to be used in a domain instead of set.
On mobile, opening My Profile or Preferences now closes the burger menu instead of leaving it on top of the page. This prevents the profile screen from appearing hidden in the background and makes account settings easier to access.
Original PR description
Pad: https://pad.odoo.com/p/r.5ee0064ab08e266dba260942c5d54e58 Task: https://www.odoo.com/web?#id=2152160&action=327&model=project.task&view_type=form&menu_id=4720
This update fixes payroll-related tests and ensures the taxable benefit for company cars in Belgian payroll is calculated using the payslip date. This helps keep payroll results accurate and improves reliability of automated checks.