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

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 20
2847
0
dic 15
7231
0
ene 23
1521
0
feb 21
2521
1
mar 25
1180