Skip to Content
Menu
This question has been flagged
1 Reply
5007 Views

 I have uncommented account_voucher_report.xml. Still i have not found the print option. Please help me. I have restarted my server and upgraded modules, after uncommentig the code.

Avatar
Discard
Best Answer

In github repo branch 7.0, there are sources to print account voucher in sxw. There is comment that said menu to print account voucher is not shown because it's awfull :P

Related source is (in account_voucher folder)

  • account_voucher_report.xml
  • report/account_voucher_print.[sxw|rmlpy]

These sources removed in branch 8.0 and master.

ref

Avatar
Discard
Author

It's helping allot to me. Can you tell me why this fuctionality removed. My CA saying it is mandatory functionality every ERP must have.

Officially I don't know. I think this particular function is removed because it use sxw/rml implementation and it's the style is awful (even though I use it) :P The newer Odoo, begin with version 8, use qweb and wkhtmltopdf to build the pdf and remove all sxw/rml template. Of course you still can adapt the report. The functionality to print document is always open to implement. In OpenERP 7, if you want to try it, you can enable the commented code and update account_voucher module.

Author

Thank you

Author

Hi Ben, I have uncommented account_voucher_report.xml. Still i have not found the print option. Please help me. I have restarted my server and upgraded modules, after uncommentig the code.

Have you check reports list in settings (technical)? Report "Voucher Print" should be listed there.

Related Posts Replies Views Activity
1
May 22
5140
2
Sep 21
20980
2
Jun 20
3850
0
Jan 18
2492
1
Mar 15
3987