Bulk Edit with Undo
Select records in any list, open Action > Bulk Edit, check a before and after table, apply, and undo the whole batch with one click if the result is wrong.
| Odoo | 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | Mail (Discuss) |
| Licence | OPL-1, 105 EUR |
| Tests | 13 automated, run on every version |
| Module | bulk_ |
The situation
Marketing asks you to tag 300 customers with Spring Campaign, or purchasing wants every price list line raised by 4 %. Standard Odoo lets you change one field of the selected records in a list, with no preview of what will change and no way back. A wrong value means opening a backup or fixing records one by one.
The module adds Action › Bulk Edit to every model a manager enables. A wizard takes the fields and values, Preview lists old and new value per record without writing, and Apply stores a batch with a snapshot of every changed value. Undo Batch puts the old values back, and skips any value someone edited in the meantime.
What it adds
Getting started
Open Apps, clear the Apps filter, search for Bulk Edit with Undo and click Activate. It needs only Mail, which every Odoo database has. Add users to the Bulk Edit User group and managers to Bulk Edit Manager under Settings › Users.
Apps › bulk_edit_preview_undo › Activate
Open Bulk Edit › Enabled Models, click New and pick the model, for example Contact. Set Max Records per Batch and Preview Rows, and optionally limit the entry to some groups with Restrict to Groups. The Action menu of that model now shows Bulk Edit.
Bulk Edit › Enabled Models
In the list view tick the records, open Actions › Bulk Edit, add one line per field, click Preview, read the table and click Apply. Apply opens the batch. If something is wrong, click Undo Batch on it. Bulk Edit › Batches lists every run.
Fine print
Log
Can Bulk Edit be limited to one team or one model?
Yes, enable the model and set Restrict to Groups, and tell us which model you need to edit.
Email odoo.expert.111@gmail.com
Also by Awins
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module