Hi all,
I have this question:
I 've override purchase.order views and now I want, in Products, to insert the "Add an item" button, like in the default behaviour.
In products page I've inserted only
<page name="purchase_lines" string="Products">
<field name="order_line"/>
</page>
I know this feature is inserted by static/src/js/views/form_relational_widgets.js if there is 'one to many' field like "order_line".
My custom view is correctly rendered but there isn't "add an item".
Is there anyone can help me? How works exaclty "Add an item" and form_relational_widgets.js?
Have a look into: https://plus.google.com/collection/MrdEWE