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

In my template i call 

<template id = "get_data" name = "car model">
    <t t-call="website.layout">
      <div class = "container">
        <div>haha</div>
      </div>
    </t>
  </template>

but i want remove
<header id="top>
and <footer id="bottom">

Anyone can help me do this

Avatar
Cancelar
Autor Melhor resposta

i add this in XML file but i dont think it is best solution

<xpath expr="." position="inside">
      <script type="text/javascript">
                document.getElementById("top").remove();
                document.getElementById("bottom").remove();
      </script>
    </xpath>
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
ago. 20
2956
0
dez. 15
7316
0
jan. 23
1625
0
fev. 21
2625
1
mar. 25
1370