I know this thread has been covered in the past. However, it seems that given solutions are not working.
I have tried to modify subst function from report module without success. I am using a custom report module.
Any tips on how to achieve this in Odoo v8?
var operations = {
'bottom-page': function (elt) { elt.style.visibility = (vars.page === vars.topage) ? "visible" : "hidden"; },
};
for (var klass in operations) {
var y = document.getElementsByClassName(klass);
for (var j=0; j<y.length; ++j) operations[klass](y[j]);
}
<div class="bottom-page">