Community mailing list archives

community@mail.odoo.com

Re: Multiple record selection on one2many?

by
Shawn Varghese
- 02/14/2016 07:49:57
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 <pedro.baeza@gmail.com> 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 <shawnvarghese.m@gmail.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 <shawnvarghese.m@gmail.com> 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. <kittiu@ecosoft.co.th> wrote:

On Sun, Feb 14, 2016 at 4:56 PM, Shawn Varghese <shawnvarghese.m@gmail.com> wrote:
Hello All,

Is there anyway to select multiple records on a one2many field and perform some action on the selected records?

Regards,
Shawn

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Mobile: +66-(0)8-1841-7480
Your ERP Partner => www.ecosoft.co.th

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe



_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe