Skip to Content
Menu

Multi-selection for x2many fields

by
Odoo
v 9.0 Third Party 470
Download for v 9.0
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name web_x2many_selectable
LicenseAGPL-3
You bought this module and need support? Click here!

Multiple selection for x2many

Just add the widget 'x2many_selectable' on any one2many or many2many field to display checkboxes for each record and add an action button.

How it works

The button added on top of the tree, when pressed, will call a python function alongwith the selected resords as arguments. Both model and the python function name can be changed from javascript. I have added comments in the JS file (/web_x2many_selectable/static/src/js/widgets.js).

Sample Python Function

@api.multi
def bulk_verify(self):
 for record in self:
 print record

Screenshot

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.