Skip to Content
Menú
This question has been flagged
3019 Vistes

Odoo v13


Model1:

author = fields.Many2one('model2', 'Author')

name = fields.Char("Name")


I want to have in tree view button which string will be "name" field. If we click on it then form of author will be shown.


...

<tree>

    <button name="%(my_action)d" class="btn-link" type"action">

        ??????

    </button>

</tree>

...

my_action show form so its ok, but how to create button string based on field?

  

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de maig 24
1970
1
de febr. 17
5701
1
de març 15
4351
1
de març 15
16150
4
de nov. 24
14024