Hi guys,
I want to display a tree view where I can add a list of selected values for a one2many field.
<record model="ir.ui.view" id="purchase_order_form_view">
<field name="name">purchase_order.form</field>
<field name="model">tjara.purchase_order</field>
<field name="arch" type="xml">
<form string="Demande d'achat Form">
<sheet>
<group>
<field name="name"/>
<field name="product_package_ids" options="{'no_create': true, 'no_create_edit':true}" />
</group>
</sheet>
</form>
</field>
</record>
When I execute this code the page display a form to create another 'product_package' !