Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1665 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
1421
0
sept 24
1024
3
jul 25
2646
1
jun 25
1219
1
jun 25
4131