Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1091 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
978
0
set. 24
623
3
jul. 25
1723
1
jun. 25
567
1
jun. 25
1727