Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How to add company logo in financial reports?

Subscribe

Get notified when there's activity on this post

This question has been flagged
reportsfinancialreportodoov12
4 Replies
17858 Views
Avatar
Sameer Ahmad

I want to add company logo and address to the financial reports like profit & loss, balance sheet, etc

Where should i add the logo code so that it'll reflect in every report?

1
Avatar
Discard
Avatar
Sameer Ahmad
Author Best Answer

I have added the logo and address in report_financial.xml under the account_reports module as below

<template id="main_template">
<div class='o_account_reports_body'>
<div class="container o_account_reports_page o_account_reports_no_print">
<div>
<img src='/web/binary/company_logo' class="float-right" style="max-height: 65px; margin-top:20px;"
alt="Logo"/>
<span t-field="res_company.partner_id"
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'/>
</div>
<hr></hr>
.....
.....
</div>
</div>
</template>

Thanks to Niyas Raphy for the answer ( https://www.odoo.com/forum/help-1/question/how-to-get-company-name-in-qweb-report-76684 ).

4
Avatar
Discard
Sudhir Arya (ERP Harbor Consulting Services)

Great! So main_template helped you.

Sameer Ahmad
Author

Yes Sudhir, it did :) Thanks though

Maaldhowr Solutions

This was really nice. I manged to put logo in partner ledger using the above code. thnks

Avatar
Sudhir Arya (ERP Harbor Consulting Services)
Best Answer

Hi Sameer,

You can find these reports in "account_reports" module. But there is no such internal layout in the module. 

The report is made up of web XML and the JS. 

I am not sure but check the template "main_template" in the "views/report_financial.xml" file and work around on this if you can pass the company image from the "account_report.py" file "get_html" method.

It is not that simple like qweb report. You need to do some R&D and work around to make it work.

5
Avatar
Discard
Sameer Ahmad
Author

Thanks for the input and yeah there's no layout in v12 so it shouldn't be as easy as it was done in v11. Will update if anything works out :)

Sudhir Arya (ERP Harbor Consulting Services)

Best of luck buddy!

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

What you can do is that change the internal_layout to external layout in the report. Once you change the report to to external_layout you will get the logo in header of the report.


For this activate the developer mode and navigate to Settings -> Technical -> Reporting -> Reports and search Financial Report. Then open the report and click the Qweb Views smart button in the top right and open that record. In the opening record in the Architecture tab you can see the code, in it 4th or 5th line you can see code like this,


<t t-call="web.internal_layout">


change this line to <t t-call="web.external_layout">



Thanks

1
Avatar
Discard
Sameer Ahmad
Author

Hi Niyas,

I can neither seem to find "Financial Report" under the Reporting -> Report menu nor the Actions -> Reports menu.

Niyas Raphy (Walnut Software Solutions)

Which version you are using ? My explanation is based on odoo11

Sameer Ahmad
Author

I'm using v12, any idea on where to find it in odoo 12 ? It would be even more beneficial if you told me how and where to change it using code so that we wouldn't have to worry about versions.

Niyas Raphy (Walnut Software Solutions)

By default in odoo12 CE, accounting reports are not there, are you using third party modules or enterprise edition ?

Sameer Ahmad
Author

Enterprise edition

Sameer Ahmad
Author

where can i find these reports in code though? so i can modify it from there.

Sudhir Arya (ERP Harbor Consulting Services)

You will find these reports in "account_reports" module.

Sameer Ahmad
Author

Hi Sudhir, I've looked it under account_reports/views/report_financial.xml but couldn't find any internal layout.

Sameer Ahmad
Author

There is no external or internal layout defined whatsoever in version 12 so i don't think adding a logo to the report should be as easy as it was done in version 11.

Niyas Raphy (Walnut Software Solutions)

Why negative vote ? Initially you haven't mentioned the version....

Sameer Ahmad
Author

That wasn't me and if it makes you feel any better let me make it zero by up voting. Also FYI, I had the tag of odoov12 attached to the question right from the beginning.

Niyas Raphy (Walnut Software Solutions)

didnt noticed the tag, thats why provided the solution in v11, as the accounting reports are not there in v12, assumed you might be v11, anyway happy to see you got solution

Sameer Ahmad
Author

Your answer did provide me some insight and you answered fast so +1 for that and Keep up the good work Niyas :) Thanks again for the answer :D

Marija

It works. Thanks

Avatar
Oakarmin Iron
Best Answer
in 16 devmode->technical -->views-->find main_template ,, 
it will be account_reports.main_template
in that after warnings_div
  


0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
add company logo to Partner Ledger report pdf
partner reports financialreport
Avatar
0
Jul 24
1950
How to modify Balance Sheet report?
accounting reports odoov12
Avatar
Avatar
1
Mar 19
8232
Looking for alternative GL reports - without aggregated transactions.
reports customization financialreport
Avatar
Avatar
1
Mar 15
5467
Adding Columns to Profit and Loss Report V15
reports financial profit_and_loss financialreport
Avatar
0
Jul 22
4080
Odoo 12 : Customer Product Report
reports products crm_ odoov12
Avatar
Avatar
4
Jun 20
4573
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now