Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I would like to edit the default report.internal_layout report header, which is something like:
"2015-02-11 14:38 Your company name 1 / 3"
I want to remove the time from there, but I cannot find where the internal_layout code is.. Do you know where can I find it?
Thank you in advance
In report/view/layouts.xml - line with time is bold:
<!-- Multicompany -->
<t t-if="o and 'company_id' in o">
<t t-set="company" t-value="o.company_id"></t>
<t t-if="not o or not 'company_id' in o">
<t t-set="company" t-value="res_company"></t>
<div class="col-xs-2 col-xs-offset-2 text-center">
<div class="col-xs-2 col-xs-offset-3 text-right">
<t t-raw="0" />
if you want hide the time in the report use this code by ctrating a new xml file:
<?xml version="1.0" encoding="utf-8"?>
<template id="time_hide" inherit_id="report.internal_layout">
<xpath expr="//div[@class='col-xs-3']" position="replace">
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/11/15, 1:41 PM|
|Seen: 1168 times|
|Last updated: 3/16/15, 8:10 AM|