İçereği Atla
Menü
Bu soru işaretlendi
2904 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
May 24
1846
1
Şub 17
5560
1
Mar 15
4229
1
Mar 15
16032
4
Kas 24
13506