Monday, 06.September LAT | ENG
Sample Reports PDF E-mail

This is first featured sample report. After installing the module you can print the report from Partners form - find button named "Sample Report" on a sidebar.

Features:

  • Report being defined in a module;
  • Placing information from Partners object (res.partner);
  • Custom parser (hello_world function);
  • Use of external libraries and it's functions in a parser and report (Random1, Lorem Ipsum2);
  • Examples for some of the Extra Functions3 (barcode, get_label, get_selection_item, setLang);
  • Example of “if” and “for” control sections;
  • Native use of unicode fonts;
  • OpenOffice.org text formatting features (page numbers, headings, tables, columns, bullet lists, etc.).

Downloads:

OpenERP module with embedded report, install it as usual module!

zip

 

 

Template document alone, created with OpenOffice.org Writer. Note, that this template requires parser which is defined inside module. If you want to test this template without installing the module, you would have to copy the parser code from module and place it on a Report XML object form.

odt

lorem_ipsum_template.odt

 

 

This is what the output looks like in ODT format.

odt

lorem_ipsum.odt

 

 

This is what the output looks like in PDF format.

pdf

lorem_ipsum.pdf

 

 
Copyright © 2001 KN dati SIA, ALL RIGHTS RESERVED