Skip to Content
Menu
v 14.0 Third Party 331
Download for v 14.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 436
Technical Name mass_editing_v14
LicenseGPL-3 or any later version
Websitehttp://www.serpentcs.com
You bought this module and need support? Click here!

Mass Editing

This module provides the following features:

  • You can add, update or remove the values of more than one records on the fly at the same time.
  • You can configure mass editing for any Odoo model.
  • The video explaining the features and how-to for OpenERP Version 6 is here http://t.co/wukYMx1A
  • The video explaining the features and how-to for OpenERP Version 7 is here : http://www.youtube.com/watch?v=9BH0o74A748&feature=youtu.be
  • For more details/customization/feedback contact us on contact@serpentcs.com

Installation

No external library is used.

Configuration

To configure this module, you need to:

  • Go to Settings / Mass Editing / Mass Editing and configure the object and fields for Mass Editing.

Usage

This module allows to add, update or remove the values of more than one records on the fly at the same time.

Try me on Runbot

As shown in figure you have to configure the object and fields for mass editing.

  • Select the object and add the fields of that object on which you want to apply mass editing.
/mass_editing/static/description/mass_editing-1.png
  • Add Action: As shown in figure click on Add Sidebar Button to add mass editing option in Action option in action.
/mass_editing/static/description/mass_editing-2.png
  • Go for Mass Editing: As shown in figure, select the records which you want to modify and click on Action to open mass editing popup.
/mass_editing/static/description/mass_editing-3.png
  • Select Set / Remove action and write down the value to set or remove the value for the given field.
/mass_editing/static/description/mass_editing-4.png
  • This way you can set / remove the values of the fields.
/mass_editing/static/description/mass_editing-5.png

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
Error while installing
by
Neelu Thapar
on 7/17/21, 12:43 AM

Error:

Odoo Server Error


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

    result = request.dispatch()

  File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch

    result = self._call_function(**self.params)

  File "/odoo/odoo-server/odoo/http.py", line 359, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper

    return f(dbname, *args, **kwargs)

  File "/odoo/odoo-server/odoo/http.py", line 347, in checked_call

    result = self.endpoint(*a, **kw)

  File "/odoo/odoo-server/odoo/http.py", line 912, in __call__

    return self.method(*args, **kw)

  File "/odoo/odoo-server/odoo/http.py", line 531, in response_wrap

    response = f(*args, **kw)

  File "/odoo/odoo-server/addons/web/controllers/main.py", line 1393, in call_button

    action = self._call_kw(model, method, args, kwargs)

  File "/odoo/odoo-server/addons/web/controllers/main.py", line 1381, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/odoo/odoo-server/odoo/api.py", line 396, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

  File "/odoo/odoo-server/odoo/api.py", line 383, in _call_kw_multi

    result = method(recs, *args, **kwargs)

  File "<decorator-gen-71>", line 2, in button_immediate_install

  File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 74, in check_and_log

    return method(self, *args, **kwargs)

  File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 475, in button_immediate_install

    return self._button_immediate_function(type(self).button_install)

  File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 593, in _button_immediate_function

    modules.registry.Registry.new(self._cr.dbname, update_module=True)

  File "/odoo/odoo-server/odoo/modules/registry.py", line 89, in new

    odoo.modules.load_modules(registry._db, force_demo, status, update_module)

  File "/odoo/odoo-server/odoo/modules/loading.py", line 453, in load_modules

    processed_modules += load_marked_modules(cr, graph,

  File "/odoo/odoo-server/odoo/modules/loading.py", line 346, in load_marked_modules

    loaded, processed = load_module_graph(

  File "/odoo/odoo-server/odoo/modules/loading.py", line 178, in load_module_graph

    load_openerp_module(package.name)

  File "/odoo/odoo-server/odoo/modules/module.py", line 385, in load_openerp_module

    __import__('odoo.addons.' + module_name)

  File "/odoo/custom/addons/mass_editing_v14/__init__.py", line 7, in <module>

    from . import tests

  File "/odoo/custom/addons/mass_editing_v14/tests/__init__.py", line 5, in <module>

    from . import test_mass_editing

  File "/odoo/custom/addons/mass_editing_v14/tests/test_mass_editing.py", line 9, in <module>

    from odoo.addons.mass_editing.hooks import uninstall_hook

Exception


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/http.py", line 639, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/odoo/odoo-server/odoo/http.py", line 315, in _handle_exception

    raise exception.with_traceback(None) from new_cause

ModuleNotFoundError: No module named 'odoo.addons.mass_editing'

Re: Error while installing
by
Boris.Gra
on 7/17/21, 3:03 AM Author

Tests dont adapted for odoo 14 !


P.s. https://apps.odoo.com/apps/modules/14.0/mass_editing/ 


by
Yusuf Kapasi
on 5/5/21, 7:32 AM

HI

I am also getting error on this when I searched for Contact field in Settings > Technical > Database Structure > Fields:

model_domain += [('model_id', 'in',
# map(int, domain[2][1:-1].split(',')))]
[int(x) for x in domain[2][1:-1].split(',')] )]
  File "/mass_editing_v14/models/ir_model_fields.py", line 21, in search
    [int(x) for x in domain[2][1:-1].split(',')] )]
  File "/mass_editing_v14/models/ir_model_fields.py", line 21, in <listcomp>
    [int(x) for x in domain[2][1:-1].split(',')] )]
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/odoo14/odoo/http.py", line 639, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo14/odoo/http.py", line 315, in _handle_exception
    raise exception.with_traceback(None) from new_cause
ValueError: invalid literal for int() with base 10: 'ontac'

Will you please fix this? :)

regards,
Re:
by
Boris.Gra
on 5/6/21, 1:29 AM Author

corrected the error


by
Yusuf Kapasi
on 5/3/21, 6:57 AM

Hi 

I am using this module with different version and havin same issue with v13 also.

I fixed this error by manually changes in below files:

First test_mass_editing.py :

from odoo.addons.mass_editing_v14.hooks import uninstall_hook

Second  __manifest__.py :

'depends': ['web']

If possible please fix in the main source.

Regards,


by
usmanasim@gmail.com
on 4/2/21, 2:56 PM

I am not that much technical. Can you please guide me how to delete parameter --test-enable ?? THANKING YOU IN ADVANCE 


Installation Error on v14
by
usmanasim@gmail.com
on 4/2/21, 5:13 AM

Error:

Odoo Server Error


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

    result = request.dispatch()

  File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch

    result = self._call_function(**self.params)

  File "/odoo/odoo-server/odoo/http.py", line 359, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper

    return f(dbname, *args, **kwargs)

  File "/odoo/odoo-server/odoo/http.py", line 347, in checked_call

    result = self.endpoint(*a, **kw)

  File "/odoo/odoo-server/odoo/http.py", line 912, in __call__

    return self.method(*args, **kw)

  File "/odoo/odoo-server/odoo/http.py", line 531, in response_wrap

    response = f(*args, **kw)

  File "/odoo/odoo-server/addons/web/controllers/main.py", line 1381, in call_button

    action = self._call_kw(model, method, args, kwargs)

  File "/odoo/odoo-server/addons/web/controllers/main.py", line 1369, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/odoo/odoo-server/odoo/api.py", line 396, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

  File "/odoo/odoo-server/odoo/api.py", line 383, in _call_kw_multi

    result = method(recs, *args, **kwargs)

  File "<decorator-gen-72>", line 2, in button_immediate_install

  File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 73, in check_and_log

    return method(self, *args, **kwargs)

  File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 474, in button_immediate_install

    return self._button_immediate_function(type(self).button_install)

  File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 592, in _button_immediate_function

    modules.registry.Registry.new(self._cr.dbname, update_module=True)

  File "/odoo/odoo-server/odoo/modules/registry.py", line 89, in new

    odoo.modules.load_modules(registry._db, force_demo, status, update_module)

  File "/odoo/odoo-server/odoo/modules/loading.py", line 453, in load_modules

    processed_modules += load_marked_modules(cr, graph,

  File "/odoo/odoo-server/odoo/modules/loading.py", line 346, in load_marked_modules

    loaded, processed = load_module_graph(

  File "/odoo/odoo-server/odoo/modules/loading.py", line 178, in load_module_graph

    load_openerp_module(package.name)

  File "/odoo/odoo-server/odoo/modules/module.py", line 358, in load_openerp_module

    __import__('odoo.addons.' + module_name)

  File "/odoo/custom/addons/mass_editing_v14/__init__.py", line 7, in <module>

    from . import tests

  File "/odoo/custom/addons/mass_editing_v14/tests/__init__.py", line 5, in <module>

    from . import test_mass_editing

  File "/odoo/custom/addons/mass_editing_v14/tests/test_mass_editing.py", line 9, in <module>

    from odoo.addons.mass_editing.hooks import uninstall_hook

Exception


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/http.py", line 639, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/odoo/odoo-server/odoo/http.py", line 315, in _handle_exception

    raise exception.with_traceback(None) from new_cause

ModuleNotFoundError: No module named 'odoo.addons.mass_editing'

Re: Installation Error on v14
by
Boris.Gra
on 4/2/21, 10:53 AM Author

test dont adapted for odoo 14

delete parameter --test-enable 

or tests from mass_editing