# View - Many2One field as form

**URL:** <https://discuss.tryton.org/t/view-many2one-field-as-form/1904>\
**Category:** Developer\
**Created:** [November 5, 2019, 6:42am UTC](https://discuss.tryton.org/t/view-many2one-field-as-form/1904 "2019-11-05T06:42:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thedevilcoder](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/ac91a4/32.png) [@Thedevilcoder](https://discuss.tryton.org/u/Thedevilcoder)\
**Post date:** [November 5, 2019, 6:42am UTC](https://discuss.tryton.org/t/view-many2one-field-as-form/1904/1 "2019-11-05T06:42:28Z")

</div>

Hi  
I have a Many2One field - 'follow\_up" in a model named “cushing\_syndrome”. I want to display this field as a form in the cushing\_syndrome model.  
Is there any way to display this without migrating the follow\_up fields in cushing\_syndrom

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [November 5, 2019, 8:25am UTC](https://discuss.tryton.org/t/view-many2one-field-as-form/1904/2 "2019-11-05T08:25:12Z")

</div>

No really. The Many2One API does not allow to show it as a form.  
But there are two options to keep the same database schema and still display information:

- Add Function fields that show data from the target of the Many2One and display them on the form. You can use `on_change_with` method as `getter` such that the value will be updated when the Many2One is changed.

- Add a One2Many Function field that contains just the target of the Many2One. Set a size limit to 1 and display the One2Many as form. Again the `getter` could also be a `on_change_with`. If you want to support edition of this form, you will have to define a `setter` but be careful that the API of One2Many can be complex to support.
