Thursday, February 4, 2021
4 changes · master
Enhancements to existing features
Users’ valid changes in web views are now saved automatically when they close a tab or browser window. This reduces the chance of losing work, while invalid changes are discarded without interrupting the close action.
Original PR description
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
Automated scheduled actions can now be triggered for several planned moments in one request, instead of requiring repeated separate calls. This makes business workflows that need per-record or multi-time scheduling simpler and more efficient, while removing an unused delay option.
Original PR description
Often the business want to trigger the cron several time at different moments. The typical use case is the business holds a recordset and needs to trigger the cron for every record. The current solution is to loop on each record to call `_trigger` times. We now allow to invoke `_trigger` with an iterable of `datetime` objects, and isolate the implementation in method `_trigger_list`. We also removed the `delay` argument as it was not used. Task: 2452697
A shorter command option was added as an alternative to the existing stop-after-startup setting. This makes a frequent developer workflow quicker and less error-prone without changing business functionality.
Original PR description
This command is often used by developers and we often need to add or remove it in a way that we can't add it in scripts. It is also kind of long to type each time. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors can now manage many-to-one partner fields through a dedicated editor control in the side panel instead of being interrupted by a backend edit dialog. This makes content editing smoother and keeps users focused in the website editing flow.
Original PR description
Create a new UserValueWidget for the m2o fields. When editing a m2o partner the dialog that prompt us to edit the record in the backend is now a left panel option. task-2190603 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr