Availability |
Odoo Online
Odoo.sh
On Premise
|
Technical Name |
web_one2many_selectable |
License | AGPL-3 |
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
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
How to call python function
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
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