Guewen Baconnier
5cc2eec8d6
When get_pdf has no printer, just create the pdf file
...
And do not print anything, instead of raising an error.
2015-01-26 11:55:26 +01:00
Guewen Baconnier
8344cca443
Raise an error if no printer is configured
2015-01-21 15:39:51 +01:00
Guewen Baconnier
22cde58f0e
Do no longer returns a PDF when a report is printed
...
Instead, a notification is displayed to the user.
When report.get_pdf() is called on a report that must be printer,
it will print the report *and* returns the pdf, thus code that
calls directly report.get_pdf() will print the pdf on the printer
as expected.
Fixes #16
2015-01-21 15:39:41 +01:00
Guewen Baconnier
aa22f62bbb
Implements the print on the new 'report' model
2014-11-17 13:15:03 +01:00
Guewen Baconnier
91162b1a6c
Migrate ir_report.py to new API
2014-11-14 11:03:37 +01:00
Guewen Baconnier
2201af66b8
Move base_report_to_printer to root from __unported__
2014-11-14 11:03:14 +01:00
Yannick Vaucher
ba2e892477
move modules in __unported__ for 8.0
2014-07-04 17:17:53 +02:00
Lionel Sausin
efc939ffd4
[IMP] Use short notation for browse and use pool[] instead of pool.get() as suggested by Pedro Manuel Baeza
2014-04-17 18:34:39 +02:00
Lionel Sausin
7409a95315
[FIX] user browse was incorrect and never returned records. Fix based on the patch from Egor Tsinko (etsinko)
2014-04-16 17:04:07 +02:00
Yannick Vaucher
d4df635455
[IMP] base_report_to_printer - split code in multiple files
2013-10-02 14:08:48 +02:00