Odoo - QWeb Multiple report layout step by step ?

Zarshed Ali
Zarshed Ali
5000
| 2 1 2
Asked on 2/17/15, 5:56 AM
0
vote
4328 Views

How to implement another report in the print drop down menu? (e.g. like this for sale orders)
multiple_report_design_layout_odoo_dropdown_print_button

STEP #1 – create a new report
Goto Settings > Technical > Reports > Reports, create a new report and fill out the four mandatory fields:
new_report
After saving this report please have a look in your browser address bar. There you can easily see the report’s id (something like “#id=1234″) – you need this id for a later step.

STEP #2 – create a new view
Goto Settings > Technical > User Interface > Views, create a new view and fill out following fields:
new_qweb_view
When View Name is the same as in Template Name (from STEP #1) Odoo automatically associates this view to the given report.
After saving this view have a look in your browser address bar. There you can easily see the view’s id (something like “#id=1234″) – later you will need this id.

 STEP #3 – create a new identifier
Goto Settings > Technical > Sequences & Identifiers >  External Identifiers, create a new identifier and fill out the following fields:
new_identifier
Record ID is the view id you found in STEP #2

STEP #4 – create a new action binding
Goto Settings > Technical > Actions > Action Bindings, create a new action binding and fill out following fields:
new_action_binding
The number specified in Action Reference is the report id you got in STEP #1

Zarshed Ali
Zarshed Ali
5000
| 2 1 2
Answered on 2/17/15, 5:57 AM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 2/17/15, 5:56 AM
Seen: 4328 times
Last updated: 2/17/15, 5:57 AM