Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1165 Visualizações

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
set. 24
1030
0
set. 24
675
3
jul. 25
1863
1
jun. 25
634
1
jun. 25
2007