Multi-selection to one2many fields

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

Multiple selection for one2many

Add the widget 'one2many_selectable' to display checkboxes on each line and add an action button.

Configure the action button

The action button needs to be configured to call your specific Python function from specified module. In the JS file (/web_one2many_selectable/static/src/js/widgets.js), search for the string "your.model.name" and change it to the model where your python function resides (res.partner etc.) In the same file search for the string "function_name" and change it to the function you wish to call. Make sure the lines are not commented.

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!
How to call python function
by
Victor
on 8/25/17, 3:50 PM

Hi, it seems very nice but I haven't found the way to call my python function, even following the instructions. Do you have some example? Thanks!


How function must be written
by
Pape
on 5/26/16, 2:45 PM

Hi, it's a very nice module but I don't know how the function in my model must be written. Any Help please? Thanks in advance