view_ids in many2many field

36 views
Skip to first unread message

FREDY RAMIREZ

unread,
Jun 12, 2018, 2:50:06 AM6/12/18
to tryton
Hi everybody,

I am trying to use view_ids for a many2many field, but when I used the form type first in the list (view_ids="module.view_form,module.view_tree") an error is raised: 'ViewForm' object has no attribute 'treeview'

Is this a bug or it is not possible with this kind of field?

I am using tryond 4.6.4 and tryton client 4.6.6

Other issue is in SAO, if I define the many2many field size argument to '1', the widget acts as a readonly one. SAO version: 4.6.4

Any suggest?

Thank you in advance.

Cédric Krier

unread,
Jun 12, 2018, 3:15:05 AM6/12/18
to tryton
On 2018-06-11 21:31, FREDY RAMIREZ wrote:
> I am trying to use view_ids for a many2many field, but when I used the form type first in the list (view_ids="module.view_form,module.view_tree") an error is raised: 'ViewForm' object has no attribute 'treeview'
>
> Is this a bug or it is not possible with this kind of field?

The order must always be tree,form: https://bugs.tryton.org/issue7509

> Other issue is in SAO, if I define the many2many field size argument to '1', the widget acts as a readonly one. SAO version: 4.6.4

Please fill an issue.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages