Skip to Content
Menu
This question has been flagged
1 Reply
2899 Views

i have   a from & one2many field when a click add a pop up show up with another form view ,i want this form view to be moved to the principal form view 

Avatar
Discard
Best Answer

Hello,

You can either use the context with form_view_ref key such as this one , Or define an inline form view in the field such as

<field name="your_field_name>
<tree>
....
</tree>
<form>
...
</form>
</field>


Hope this could helps

Avatar
Discard
Author

Thank You Ahmed For Your Answer , it working if i want to edit the original form view , but in my case i don't want to change anything , i just want the form to be showen in current form view instead of a popup ,i mean i don't want to click add an item and after add informations thank you in advance if you have a proposition