Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2808 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 24
1727
1
úno 17
5465
1
bře 15
4148
1
bře 15
15929
4
lis 24
13089