Daily updates from Odoo
Friday, August 9, 2019
11 changes · master
Enhancements to existing features
This update makes Odoo's attachment handling easier to extend, especially for businesses using custom storage solutions. It reduces the need for custom modules to override core behavior, making future storage integrations and maintenance simpler.
Original PR description
Description of the issue/feature this PR addresses: Fixes https://github.com/odoo/odoo/issues/33456 Current behavior before PR: At the moment it is not easy to add a new storage type without overwriting several methods. The same applies to the method for migrating attachments. Desired behavior after PR is merged: This patch has the goal to improve this. An example that uses these changes is this addition of the storage type Large Object. Large Objec: https://github.com/muk-it/muk_base/blob/12.0/muk_attachment_lobject/models/ir_attachment.py Since the methods: `_get_datas_inital_vals`, `_update_datas_vals`, `_get_datas_clean_vals`, `_clean_datas_after_write` are used it would even work if several storage extensions were installed in the system, because now every module only has to implement its own cleanup method. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes the search panel apply additional information consistently across its related operations. It helps ensure users see more reliable filtering behavior in views that use the search panel.
Original PR description
Description of the issue/feature this PR addresses: The new SearchPanel uses 2 methods, but only one of them gets additional arguments when called. This PR adjusts the methods, so that both get additional arguments. Current behavior before PR: Only one method gets additional arguments Desired behavior after PR is merged: Both methods get additional arguments -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The delivery settings now hide the option to generate return labels when the selected carrier does not support it. This prevents users from enabling an unavailable carrier feature and reduces configuration mistakes.
Original PR description
Now we hide the generate return label if this option is not available for the current carrier. Before this fix, we could set the field to true even if the option was not available for this particular carrier. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The delivery setup now hides the generate return label option for carriers that do not support it. This prevents users from selecting an unavailable service and helps avoid incorrect carrier configurations.
Original PR description
Now we hide the generate return label if this option is not available for the current carrier. Before this fix, we could set the field to true even if the option was not available for this particular carrier. Task-Id: 1956970
The Web Studio Edit Menu dialog received minor adjustments to stay aligned with recent platform changes. This helps keep menu editing consistent and reliable for users working in Studio.
Original PR description
Minor changes in "Edit Menu" dialog. task-2026299 (related to https://github.com/odoo/odoo/pull/34422)
The website-related smart button now clearly says "Go to Website" instead of using a more ambiguous published label. Users can still see whether an item is published through the globe icon color, and linked website pages open in a new tab for a smoother workflow.
Original PR description
* = website_helpdesk, website_twitter_wall The published button name is a bit ambiguous, now it will clearly state what it does with a new title : "Go to Website". The "Published", "Unpublished" state is shown with the globe icon changing color (green and red). Also the website page referencing the product now opens in a new tab. Related to: https://github.com/odoo/odoo/pull/34261 task-2002435
Resolved issues and error corrections
This fixes two small issues: recently scheduled mailings can now be deleted without being blocked by a temporary scheduling window, and SMS contact handling correctly recognizes valid numbers stored in either mobile or phone fields. These changes reduce user friction when managing campaigns and improve reliability when reaching contacts by SMS.
This fixes employee creation so a name is always provided when creating an employee through the HR user flow. It helps prevent incomplete employee records and keeps HR data consistent.
Original PR description
To create an employee you have to give it a name 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 a display issue in the product matrix where products with only one attribute line could show "Not Available" as a row or line header. This makes product variant selection clearer and avoids confusing labels for users.
Original PR description
Don't show "Not Available" as Line header when there is only one attribute line on the product.template. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an error that could occur when opening Studio on product records. Users can now customize product forms without encountering a traceback, improving reliability for manufacturing product data management.
Original PR description
task - https://www.odoo.com/web#id=2047439&action=333&active_id=1519&model=project.task&view_type=form&menu_id=4720 pad - https://pad.odoo.com/p/r.0d604bfe415fc8b74af5af3daf3f2eff While accessing studio on product.template a trace back is generated. By this commit, this issue has been solved.
The Referral app’s kanban view has been fixed for mobile devices. This improves usability for employees and recruiters viewing referral information on smaller screens.