Odoo Help

Welcome!

This community 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.

0

Display sum on every page in invoice report.

By
Virali
on 2/5/16, 7:06 AM 994 views

hiii everyone,

i have inherited account invoice report.

now i need to display total on every page and also display carryforward total on new page and at the end display whole total of invoice line.

if any one have any idea or solution please let me know.

Format:

company logo                    company address.

invoice line 1                100

invoice line 2                100

invoice line 3                100   

invoice line 4                100

-------------------------------------

         sub total:             400


------------New-page------------

invoice line 5                100

invoice line 6                100

-------------------------------------

         sub total:             600

-------------------------------------

        final total:             600                        

Thank You.

1

Axel Mendoza

--Axel Mendoza--
10273
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 2/5/16, 1:57 PM

To do that you need to determine the exact number of lines you will be displaying per page so you could do a manually page break and before that page break you could put your subtotal info.

Find how to do a page break here:

https://www.odoo.com/forum/help-1/question/how-to-include-a-page-break-second-page-in-custom-report-pdf-91277#answer_91281

Thanks, but i dont know no of line. line should be 2 or 20 or more. and i also need to display subtotal in new page starting i will try your solution. thank you Axel.

Virali
on 2/8/16, 12:57 AM

You don't have to know the number of pages, you just need to know the number of lines that you are able to show on each page to be able to jump to the next page after the number of lines on every page are complete.

Axel Mendoza
on 2/8/16, 1:13 AM

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!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/5/16, 7:06 AM
Seen: 994 times
Last updated: 2/5/16, 1:57 PM