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.
we need for our company report to print per page an subtotal in the table footer. If the last page is reached, it should print the amount untaxed.
We tried this by defining a variable before the loop starts. In the loop itself we add the product subtotal to the variable and printing it in the table footer. But this didn't work as expected. The subtotal on page one and page two are the same.
For better understanding what we want:
|Amount untaxed||2.000 |
Currently it prints the amount untaxed on every page.
Usually while the reports is getting printed, its hard to know whether the end of the page has reached or not.
If your line size is fixed say 10, you can define like...after the 9th line is printed, you add the subtotal of 9 lines asthe 10th line. And later on, the 11th line will print the 10th sale orer line and so on.
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
|Asked: 7/8/15, 3:00 AM|
|Seen: 1429 times|
|Last updated: 7/8/15, 6:30 AM|