Sign in
Try it free
  • Apps
    Websites
    Build great user experience
    • Website Builder
    • eCommerce
    • Blogs
    • Forums
    • Slides
    • Live Chat
    Sales
    Boost your success rate
    • Sales
    • CRM
    • Invoicing
    • Point of Sale
      • Shops
      • Restaurants
      • Hardware
    • Subscriptions
    • Sign
    Operations
    It's all about efficiency
    • Accounting
    • Project
    • Human Resources
      • Recruitment
      • Employees
      • Expenses
      • Appraisal
      • Fleet
      • Leaves
    • Inventory
    • Purchase
    • Manufacturing
      • MRP
      • PLM
      • Maintenance
      • Quality
    • Helpdesk
    Productivity Tools
    Great Tools = Happy People
    • Communication
      • Discuss
      • Mailing Lists
      • Notes
    • Timesheet
    • Email Marketing
    • Events
    • Survey
    • Appointments
    • Marketing Automation
    Third party apps | Odoo Studio | Odoo Cloud Platform NEW
  • Tour
  • Pricing
  • Community
  • Docs

Odoo 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 management | MRP | etc.

Take the tour
Help
  • Trending
  • Newest
  • People
  • Tags
  • Badges
Ask a Question
1

[odoo9] : Report content and header footer issue with wizard

wizard qweb odoo9
By
Prince Caspion
on 7/13/16, 3:45 AM • 985 views

Hello All,

Again asked because not able to edit the question, added example

I've created report which is printed from wizard,

It works well until i add,

report.external_layout in report template,

After adding this external layout header footer appears but report content is disappeared

What could be the issue?

If i remove report.external_layout template than report works well but the report will not having header & footer then.

Edit, Eg.

<!-- Report Template--><template id="test_template">
  <t t-call="report.html_container">
          <t t-foreach="docs" t-as="doc">
              <t t-call="report.external_layout">
  <div class="page">
  <div class="row">
  <p>Report printed from wizard</p>
                      </div>
                  </div>
               </t>
      </t>
      </t>
</template>

These are the problems

1. If i remove external_layout template than it print the report content but there is no header,

2. if I add external_layout it just print header and footer for all records not content.

What can be issue?

Do i need add something else with my parser class?

Please help

Thank you.

Prince.

  • Flag
  • Reply
  • Comment
  • Share
1

Anil R. Kesariya

--Anil R. Kesariya--

http://milanomedia.eu/
5471
| 6 5 8
Rajkot, India
--Anil R. Kesariya--

Odoo Techno Functional Expert

* Engaged with odoo since May - 2012.

* Customise existing module or develop new module base on customer requirement.

* Played key developer role in many past and running projects.

* Expert in requirement gathering of business and transforming requirement into odoo platform.

* Major expertise in core modules, database, report development and theme development.

* Integration expert.


Linkedin  : https://in.linkedin.com/in/anil-kesariya-97b20a66


Anil R. Kesariya
On 7/13/16, 4:59 AM

Hi prince,

Try this internal layout instead of external layout, because for wizard report it only supports internal layout.


Here is the syntax.

report.internal_layout

Just replace external with internal, it will work perfectly but it will give you the different header footer than the normal, which is normally used for summary report.

For the reference you can see all accounting reports those are generated through wizard, those all are following the internal layout only. external layout is not used anywhere so probably external layout cannot be used for the report those are generated from wizard. 

May be someone has idea how to apply external layout on it, it would help me as well.

Hope this will help.

Rgds,

Anil Kesariya.

  • Flag

@Anil thanks, yes it working

Prince Caspion
on 7/13/16, 10:59 PM
  • Comment

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

Thanks for your subscription!
1 follower(s)

Stats

Asked: 7/13/16, 3:45 AM
Seen: 985 times
Last updated: 9/13/17, 6:43 AM
Community
  • Github
  • Download
  • Runbot
  • Translations
  • Mailing Lists
  • Forum
Services
  • Odoo Cloud Platform
  • Support
  • Upgrade
  • Find a partner
  • Become a partner
  • Training center
  • Education
  • Security
About us
  • Our company
  • Contact
  • Events
  • Blog
  • Customers
  • Jobs
  • Legal | Privacy
  • English
    • 简体中文
    • Nederlands
    • Français
    • Deutsch
    • Italiano
    • Português (BR)
    • Español

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

Live Webinar on YouTube

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

Watch now