Daily updates from Odoo
Friday, August 9, 2019
6 changes
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