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
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Sales
  3. Sale Reports Header And Footer v 17.0
  4. Sales Conditions FAQ

Sale Reports Header And Footer

by Lucidbrainz https://lucidbrainz.com
Odoo

$ 7.06

v 17.0 Third Party 1
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Lines of code 69
Technical Name lb_sale_reports_header_footer
LicenseLGPL-3
Websitehttps://lucidbrainz.com
Versions 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Lines of code 69
Technical Name lb_sale_reports_header_footer
LicenseLGPL-3
Websitehttps://lucidbrainz.com
Versions 17.0 18.0 19.0

Custom Report Headers & Footers - Professional Document Branding

Replace Default Odoo Headers & Footers with Custom Images - Complete Company Branding Solution for All Reports in Odoo 17


Overview

Custom Report Headers & Footers by LucidBrainz is a powerful document branding solution for Odoo 17 that replaces default Odoo report headers and footers with your own custom images across all reports - including Invoices, Sales Orders, Quotations, Purchase Orders, Delivery Orders, and any other document! Say goodbye to boring default layouts and hello to professional branded documents! This intelligent module allows you to upload custom header and footer images once in company settings, and they automatically apply to ALL reports without any manual configuration. Perfect for businesses wanting professional branding, companies needing custom letterheads, organizations with specific design requirements, franchises maintaining brand consistency, consultants serving multiple clients, agencies managing brand guidelines, and any organization that needs professional document presentation, custom company branding, letterhead automation, or consistent visual identity across all reports. The module features simple image upload interface, automatic replacement of default layouts, full-width image support, works with all Odoo reports, maintains image aspect ratio, seamless PDF generation, no configuration needed after upload, preserves report data and content, and works with standard Odoo external layout. It intelligently hides default Odoo header elements (company logo, name, address, tagline) when custom header image is uploaded, and replaces default footer (company info, page numbers) with your custom footer image. The system gives you complete control over document appearance through a simple company settings interface, allowing you to upload header image, upload footer image, and instantly see changes in all generated reports. When you generate any report (invoice, sales order, quotation, delivery note, purchase order, etc.), the module automatically shows your custom header at the top and custom footer at the bottom, creating a professional, branded document with your company's unique design. The images are displayed in full width (100%), maintain proper aspect ratio, and use professional CSS styling with overflow handling and object-fit contain. The module includes smart conditional logic: if custom images exist, use them; if not, show default Odoo layout. This means you can choose which reports get custom branding by simply uploading or removing images. Ideal for businesses that want to maintain professional brand image, impress clients with custom documents, eliminate manual letterhead insertion, ensure brand consistency, save time on document formatting, comply with corporate guidelines, create memorable first impressions, stand out from competitors, and deliver professional-looking reports every time without any extra effort!

Key Features

  • Custom Header Image Upload: Upload your company's custom header image directly in Settings > Companies. Binary field with image widget for easy file selection. Supports JPG, PNG, and other common image formats
  • Custom Footer Image Upload: Upload your company's custom footer image in the same location. Separate field for footer allows complete control over document top and bottom sections
  • Company Settings Integration: Both fields added to Company form view right after the 'color' field. Easy to find under Settings > Companies > Your Company > General Information tab
  • Universal Report Application: Once uploaded, custom images automatically apply to ALL reports - Sales Orders, Quotations, Invoices, Purchase Orders, Delivery Orders, Manufacturing Orders, and any custom reports
  • Automatic Layout Replacement: Inherits 'web.external_layout_standard' template and intelligently replaces default Odoo header/footer with your custom images using XPath positioning
  • Default Header Hiding: When custom header image exists, module automatically hides default Odoo header elements (company logo, name, tagline, address) using t-if="not company.report_header_image" condition
  • Full Width Display: Custom header and footer images stretch to 100% page width (style="width: 100%"). Creates professional edge-to-edge appearance without white space on sides
  • Aspect Ratio Preservation: Images maintain original proportions with height: auto. No distortion or stretching. Uses object-fit: contain to ensure proper scaling within container
  • Professional Image Positioning: Header image positioned "before" default header div with margin-top: -70px for optimal placement. Footer replaces entire footer content div
  • Base64 Image Encoding: Uses Odoo's image_data_uri() function to convert binary field to base64 data URI. Enables direct embedding in HTML without external file references
  • Advanced CSS Styling: Comprehensive inline styles including overflow: hidden, display: block, object-fit: contain ensuring professional rendering across all browsers and PDF engines
  • Conditional Logic System: Smart t-if conditions check for image existence. If custom header/footer uploaded, use it. If not, fall back to default Odoo layout. No errors or broken displays
  • PDF Generation Compatible: Custom images render perfectly in generated PDF files. Works seamlessly with wkhtmltopdf engine. No quality loss or formatting issues in final PDF output
  • Print-Ready Documents: All generated reports are immediately ready for printing with professional appearance. No additional formatting needed before sending to customers or printing
  • Zero Configuration: Upload images once, forget about it. No need to configure each report template separately. Works automatically across entire system after image upload
  • Data Preservation: Module only replaces header/footer visual elements. All report data (invoice lines, totals, addresses, etc.) remains intact and unaffected
  • Multi-Company Support: Each company can have different header/footer images. Works perfectly in multi-company environments. Images tied to specific company record
  • Easy Image Updates: Change header/footer anytime by uploading new images in company settings. Changes reflect immediately in all new reports. No module reinstall or upgrade needed
  • Preview in Print Dialog: Before generating final PDF, print preview shows your custom header/footer. Verify appearance before downloading or emailing to customers
  • Email Integration: Reports sent via email (Send by Email button) include custom branding. Recipients see professional branded documents in email attachments
  • Alt Text Attributes: Images include alt="Header" and alt="Footer" attributes for accessibility and SEO purposes. Helps with screen readers and image identification
  • XPath Template Inheritance: Uses proper Odoo template inheritance patterns. XPath expressions target exact elements for replacement. Clean code structure following Odoo best practices
  • Binary Field Storage: Images stored as binary data in database. No external file dependencies. Automatic backup with database backups. No broken image links
  • Image Widget Interface: Uses Odoo's built-in image widget in form view. Provides upload button, preview thumbnail, and delete option. User-friendly interface for non-technical users
  • Responsive Container: Div wrapper with class="w-100" ensures responsive behavior. Images adapt to different page sizes while maintaining professional appearance
  • Lightweight Module: Minimal code footprint. Only extends res.company model and external_layout template. No heavy dependencies. Fast installation and operation
  • Standard Odoo Integration: Depends only on 'sale_management' module (can be changed to 'base' for wider compatibility). Uses standard Odoo ORM and QWeb templates
  • Multilingual Compatible: Works with any language installation. Header/footer are images so no translation needed. Module labels can be translated using Odoo's translation system
  • Customization Ready: Clean code structure allows easy modifications. Extend to add watermarks, additional branding elements, or custom logic based on your requirements

Module Screenshots

Company Settings - Upload Custom Header & Footer
⚙️ Company Settings - Image Upload Interface
Navigate to Settings > Companies > Your Company. After the "Color" field, you'll find two new fields:
• Header Report: Upload your custom header image (with image widget showing preview and upload button)
• Footer Report: Upload your custom footer image (with image widget showing preview and upload button)
Simply click the upload icon, select your image file (JPG, PNG, etc.), and save. That's it!


Company Form - Custom Header & Footer Uploaded
📸 Company Settings - Images Uploaded Successfully
Company form showing "LUCIDBRAINZ INFOTECH" with custom branding images uploaded:
• Header Report: Professional blue header with company logo and "Lucidbrainz Infotech - Delivering Technology Solution" tagline
• Footer Report: Matching blue footer with website URL, head office address, and contact number (8686786108)
Both images are visible as thumbnails in the form view for easy verification


Sales Order - Custom Branding Applied
📋 Sales Order (S00025) - Custom Header in Action
Sales Order form showing:
• Customer: Deco Addict (77 Santa Barbara Rd, Pleasant Hill CA 94523)
• Order Lines: Painting (7.00 × $1,000), Furniture Assembly (15.00 × $2,000), Flooring Services (10.00 × $700), Plumbing Services (12.00 × $500)
• Total Amount: $53,000.00
Notice the "Print" dropdown menu showing options: PDF Quote, Quotation / Order
When you click "Print" to generate PDF, your custom header and footer will appear!


Generated PDF - Professional Branded Document
📄 Generated PDF - Order S00025 with Custom Branding
Professional PDF output showing:
Top: Custom header image - full width blue banner with Lucidbrainz logo and "Delivering Technology Solution" tagline
Middle: Complete order details preserved - Order #S00025, Customer details (Deco Addict), Order Date (11/22/2025), Product table with all line items and amounts
Bottom: Custom footer image - blue banner with "OUR WEBSITE: www.lucidbrainz.com", "HEAD OFFICE: 401, Possible Triangle, Opposite Haridarshan School, Mavdi, Rajkot 360004", "CONTACT US: 8686786108"
Result: Professional, fully-branded document ready to send to customers or print!


Customer Invoice - Print Menu
💰 Invoice (INV/2025/00002) - Ready to Print
Customer Invoice form showing:
• Customer: Deco Addict
• Invoice Date: 11/20/2025, Due Date: 11/22/2025
• Products: [FURN_8220] Four Person Desk (5.00 × $2,350) and [FURN_8999] Three-Seat Sofa (20.00 × $1,500)
• Total: $41,750.00
Print dropdown menu showing: PDF, PDF without Payment
Click any print option to generate invoice with your custom header and footer branding!


Invoice PDF - Professional Branded Output
📑 Invoice PDF - INV/2025/00002 with Custom Header & Footer
Professional invoice PDF displaying:
Header: Full-width custom header image with Lucidbrainz branding
Content: Invoice INV/2025/00002, Customer address (Deco Addict, 77 Santa Barbara Rd, Pleasant Hill CA 94523), Tax ID: US12345673, Invoice/Due/Delivery Dates, Product descriptions with quantities and prices, Payment terms, Untaxed Amount and Total
Footer: Custom footer image matching header theme with website, office address, and contact information
Consistency: Same professional branding as sales order - ensures all customer-facing documents maintain brand identity!


Document Layout Settings
🎨 Bonus Feature - Document Layout Configuration
Odoo's built-in "Configure your document layout" dialog showing additional customization options:
• Layout Styles: Light, Boxed, Bold, Striped, Bubble, Wave, Folder
• Background options
• Font selection (Lato, Roboto, etc.)
• Company Logo upload
• Color themes
• Paper Format (US Letter, A4, etc.)
Note: Our module's custom header/footer images override the default layout while preserving your other document settings. Best of both worlds!


VIEW OUR MORE APPS

Our Services

Odoo
Implementation

Odoo
Customization

Odoo
Migration

Support &
Maintenance



📞 Contact Us

WhatsApp:
+91 8686786108

Email:
lucidbrainzinfotech@gmail.com

Website:
www.lucidbrainz.com

🌐 Follow Us

📘 Facebook 📸 Instagram 💼 LinkedIn 🎥 YouTube

© 2025 LucidBrainz | All Rights Reserved

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
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

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