Hi Albert!
El 20/07/18 a las 12:56, Albert Cervera i Areny escribió:
> <mailto:
lu...@gcoop.coop>>:
>
> Hi everybody,
>
> I need to add records inside of a one2many field, but as inline edit
> on a list view. The idea is similiar when adding *tags* on a
> website. [0]
>
>
> Unfortunately not. The closer you can achieve is using "multiselection"
> widget as the stock_lot module does:
>
I took a look at this widget, but it does not work on tree views.
> <field name="lot_required" widget="multiselection" yexpand="0"/>
>
> Or you could hack something by using a many2one field + a many2many one
> and using the m2o's on_change method to fill in the m2m and cleaning the
> m2o.
Thanks, I will go for this approach. The only *problem* here is that if
I want to remove an item, I can't do it at the list view, I need to do
it at the form view.
Cheers,