Creating a new QWeb report in Odoo

Like we learned in Chapter 13, Customizing Odoo for Your Business, you often are almost never better off creating a blank record and instead are better served by duplicating an existing record that is close to what you want. For example, we duplicated the Sales Order action and menu to create our custom Sales Order - Rush options.

Let's do the same thing for a new custom Odoo report. Simply go to the Settings menu and pull up the Reports option to list the available reports. Use the search filter to locate the sales order form and duplicate it. Now make any changes you'd like. You could then tie your new report to an action using the skills you learned in Chapter 13, Customizing Odoo for Your Business.

Get Working with Odoo 10 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.