Daily updates from Odoo
Wednesday, February 2, 2022
4 changes · master
Enhancements to existing features
Asset management now uses one combined wizard for actions such as pausing, modifying, resuming, selling, or disposing assets, making the workflow simpler for users. The update also adds asset cancellation with safeguards around locked periods and proper handling of existing depreciation entries.
Original PR description
[IMP] account_asset: clean UI by combining the wizards into a super wizard
Assets have a number of wizards to pause, modify/resume, sell/dispose. To clean the UI, all these wizards are merged into one wizard with a dropdown to choose the modification method
Task-2700187
[IMP] account_asset: add the ability to cancel the depreciation entries of an asset
If there are entries before the lock date, an error message is raised preventing cancellation.
if the entries are hashed, all posted depreciations are reversed
otherwise, the posted entries are deleted and the asset can be reset to draft.
Cancelled assets have the original value set to 0, and the state = cancelled
Task-2700187SEPA Direct Debit payment notifications now reuse the payment transaction already being processed instead of searching for it multiple times. This improves processing efficiency and keeps payment validation behavior consistent.
Original PR description
Before this commit, most acquirers needed to run several successive searches for the transaction whose reference was received by a controller in notification data. This is because the security checks run on the notification data require access to the acquirer through the transaction record which was immediately discarded. Starting with this commit, all `*_feedback_data` method are no longer decorated with `api.model` and can use the transaction record they're called on if provided. They are also renamed to `*_notification_data`. task-2737144 See also: - https://github.com/odoo/odoo/pull/83850
The payroll accounting test suite for Belgium was adjusted to allow for a higher expected query count after related system changes. This is an internal maintenance update that helps keep automated tests aligned and does not change user-facing payroll features.
Original PR description
Title :) See odoo/odoo#76097 TaskId-2602897
The appointment booking page now always shows an editable time zone selector, making it easier for visitors to choose the correct time zone. It also uses smarter defaults based on appointment location or visitor time zone and fixes display issues when changing time zones.
Original PR description
Purpose ======= Improve the user experience with timezones when booking an appointment from the website. Specifications ============= Set timezone field to be always visible and editable (without having to activate it in "Customize"). Change layout of selection field for time zone. The default timezone is the one from set in the appointment if the appointment location is set, otherwise it's the visitor's timezone. Upgrade: odoo/upgrade/pull/2954 Community: odoo/odoo/pull/78771 Task-2672237