Stop Downloading, Start Refreshing Skip the Downloads. Preview Every Change Instantly.

November 2, 2026 by
Stop Downloading, Start Refreshing Skip the Downloads. Preview Every Change Instantly.
Mevin Varghese


                                                                                                                 



Stop Downloading, Start Refreshing
Skip the Downloads. Preview Every Change Instantly.

Why this matters
Customizing Odoo reports like invoices, payment receipts, quotations, or delivery slips can be time-consuming. You edit the XML, restart Odoo or upgrade the module, print the report, download the PDF, and open it just to check your changes. Then you repeat the same process for every small layout adjustment.
There’s a simpler way! you can preview your changes directly in the browser. Just edit, save, and press F5 to see the latest changes — no module upgrades, no repeated PDF downloads, and a much faster development workflow.

The Traditional Way vs. Live Preview

The traditional way
The live-preview way
Edit the XML and upgrade the module (-u)
Edit the XML and save your changes
Open the record and click Print
Press F5 or Ctrl + R in the browser preview tab.
Wait for the PDF to generate and download
See the updated report directly in the browser
Open the PDF and check what changed
Inspect the layout using browser DevTools
Repeat the process for every small change
Make quick edits and refresh to check them
The result? Instead of spending 1–2 minutes checking each change, you can often see it in just a couple of seconds.

How developers benefit
• Faster iteration: layout and styling work becomes a quick   edit-and-refresh loop.
• Clean Downloads folder: no more receipt (1).pdf, receipt (2).pdf, receipt (37).pdf.
• Multi-record testing: preview several records at once with comma-separated IDs.


Step-by-step guide
Step 1: Activate Developer Mode

Go to Settings, scroll to the bottom and click Activate the developer mode, or add ?debug=1 to the URL: http://localhost:8069/odoo?debug=1
Step 2: Find the report's template name
Open Settings > Technical > Reporting > Reports, search for your report and open it. Copy the Template Name field (report_name). It is always module_name.template_id, for example:


account.report_payment_receipt
module_name.view_name

Step 3: Find the record ID
Open the record you want to print. The number at the end of the browser URL is its ID:
http://localhost:8018/odoo/action-227/27           ->record ID = 27

Step 4: Start Odoo with a database, upgrade
-c odoo.conf -d YOUR_DB_NAME -u my_module


Common pitfall: running -u my_module without -d (and with no db_name in odoo.conf) silently upgrades nothing. The database you open in the browser keeps the old template, so your change never appears.

Step 5: Open the HTML preview URL
Combine the template name and record ID into this URL:
http://localhost:8090/report/pdf/account.report_payment_receipt/27

http://localhost:8090/report/pdf/account.report_payment_receipt/27,26



Step 7: Edit, save, refresh
Edit the template in your module, save the file, and press F5 in the preview tab.

Final Thoughts 
Small improvements in your workflow can save a lot of time over the course of a project. With Odoo's developer mode and browser-based report preview, you can spend less time downloading PDFs and more time building better reports.
The next time you customize a QWeb report, give this workflow a try: Edit, Save, Refresh, Repeat. 
 Happy coding!
If you are looking for an ERP implementation partner with diverse industry experience feel free to contact us. We have proven track record of successful implementations across various sectors including Odoo for Manufacturing, Odoo for Trading, Odoo for FMCG, Odoo for Oil & Gas, Odoo for Diary, Odoo for Pharma, Odoo for Cosmetic Clinic, Odoo for Contracting Companies, Odoo for HVAC, Odoo for Logistics, Odoo for Automobile, Odoo for Laundry, Odoo for Field Service, Odoo for E-Commerce & many more
ZestyBeanz offers Developer / Consultant outsourcing programs, Chat with us in Whatsapp and Hire Odoo Developers, Mobile Application Developers, Consultants.
#OdooKerala #OdooKochi #OdooTrivandrum #OdooERP #ProjectManagement #OdooVansales #HireOdooDeveloper#Odoo19 #OdooTimeOff #LeaveManagement #HRManagement #OdooHR #EmployeeManagement #OdooERP #PublicHolidays #MandatoryDays #ZestyBeanz