Skip to Content
Menu
This question has been flagged
1 Atsakyti
3872 Rodiniai

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

Portretas
Atmesti
Autorius Best Answer

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>
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
rugp. 20
2979
0
gruod. 15
7356
0
saus. 23
1666
0
vas. 21
2640
1
kov. 25
1419