Skip to Content
Menu
This question has been flagged
4 Replies
2268 Views

Hii,

Accounting > Reporting > Aged Payable
Accounting > Reporting > Aged Receivable

How to increase these reports viewable area on browser? 

Our finance team very annoying seeing this report, they have to go to bottom of report and scroll right and the see all columns. 

How to make these reports viewable area 100% wide and appear on full page.

I have 24" monitor and this report showing in the center leaving space right and left.

How to give it full browser width? 

Version: 12 EE

Thanks,



Avatar
Discard

nice if you can specify the odoo version

Author

Odoo 12 EE

Best Answer

Hello Muhammad Anees, 

By default Odoo doesn't provide option to remove scroller from bottom

So you can achieve that part by inheriting the report and adding css on table

<template id="account_reports_main_template_inherit" inherit_id="account_reports.main_template">

            <xpath expr="//table" position="attributes">

                <attribute name="style">width:98%;table-layout: fixed;</attribute>

            </xpath>

        </template>

Thanks

Anisha Bahukhandi


Avatar
Discard
Author Best Answer

This worked with me.

<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <template id="account_reports_main_template_inherit" inherit_id="account_reports.main_template">
        <xpath expr="//div[@class='container o_account_reports_page o_account_reports_no_print']" position="attributes">
            <attribute name="style">max-width:98%;</attribute>
        </xpath>
        <xpath expr="//table" position="attributes">
            <attribute name="style">max-width:98%;table-layout: fixed;</attribute>
        </xpath>
    </template>
</odoo>
Avatar
Discard