Task #7811

Task #7761: uncloud v2

Create a view to download bills in a "human readable designed format"

Added by Nico Schottelius over 1 year ago. Updated over 1 year ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
PM Check date:


  • We have an HTML design template in odoo and probably also in ungleich-billing
  • We should have a view (can be json), which lists all bills with the link to an url that shows a pdf of the bill
  • The pdf should be generated using above HTML

I would put this into a separate uncloud_web django app as part of uncloud_v2 and mount the view with the router
below web/bill.

Please coordinate with Mondi for the html template and Timothee for the billing model.



Updated by Nico Schottelius over 1 year ago

Plus Sanghee as a watcher


Updated by Ahmed Bilal over 1 year ago

  • Status changed from New to Seen

Updated by Ahmed Bilal over 1 year ago

  • pandoc
  • xhtml2pdf
  • weasyprint
  • wkhtmltopdf

Only, weasyprint comes near to the HTML when converting to PDF, other lag too much behind.


Updated by Ahmed Bilal over 1 year ago

weasyprint does not correctly produce pdf when used inside django using

I also tried wkhtmltopdf which seems to shrink the whole page using some stupid smart-shrinking which is enabled by default and cannot be disabled in unpatched version of QT. QT?? It mean it is not good option as we also would require QT which is quite big.


Updated by Ahmed Bilal over 1 year ago

  • Assignee changed from Ahmed Bilal to Nico Schottelius

Also available in: Atom PDF