Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1061 Vistas

Hi how do i inherit a "+ New" button in a tree? pls help i have no idea

Avatar
Descartar
Mejor respuesta

You can try inheriting the template below for a 'New' button in tree view.

 <t t-name="account.ListView.Buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary">
<xpath expr="//div[hasclass('o_list_buttons')]" position="inside">

                //Contents
        </xpath>
 </t>


Hope it helps

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 24
946
0
sept 24
594
3
jul 25
1463
1
jun 25
515
1
jun 25
1424