Community mailing list archives
Re: Multiple record selection on one2many?by
Thanks Pedro, I'll try to propose it to OCA/web in a few days. I will try to incorporate your suggestion as well. Thanks !
On Sun, Feb 14, 2016 at 4:11 PM, Pedro Manuel Baeza Romero <firstname.lastname@example.org> wrote:
Excellent contribution. You can propose it to OCA/web. If you allow me, one direct suggestion is to have a system parameter that enables this for all one2many widgets. You can see in https://github.com/OCA/web/tree/8.0/web_tree_many2one_clickable a similar technique.Regards.2016-02-14 13:07 GMT+01:00 Shawn Varghese <email@example.com>:I have played around with the widgets for this. Don't know if someone has already made this functionality, but here it is anyway.On your one2many field, add widget="one2many_selectable"Its not completely bug free, but should suffice for typical requirements. Let me know in case you run into any issues. Thanks.On Sun, Feb 14, 2016 at 3:06 PM, Shawn Varghese <firstname.lastname@example.org> wrote:Thank you Kitti. This is a nice functionality for many2many, but I do not think we can use it for one2many fields. I'm basically looking for a checkbox next to the one2many tree like in normal list view. Please do let me know if you have any other suggestions. Thank you.On Sun, Feb 14, 2016 at 2:36 PM, Kitti U. <email@example.com> wrote:Hi Shawn,Will this module works?KittiOn Sun, Feb 14, 2016 at 4:56 PM, Shawn Varghese <firstname.lastname@example.org> wrote:Hello All,Is there anyway to select multiple records on a one2many field and perform some action on the selected records?Regards,Shawn--