Stéphane Bidoul
197fdfd9c3
[UPD] prefix versions with 8.0
2015-10-09 10:02:55 +02:00
Stéphane Bidoul
53116da542
[ADD] addons table in README.md
2015-09-23 16:27:29 +02:00
Pedro M. Baeza
833b195632
Merge pull request #32 from yvaucher/8.0-fix-pep8
...
[PEP8]
2015-08-18 19:27:17 +02:00
Yannick Vaucher
16811b2b2f
[PEP8]
2015-08-18 15:04:42 +02:00
Alexandre Fayolle
4d98885fb4
Update travis configuration
...
use sudo: false to enable container build
use cache: pip to cache pip packages
2015-07-24 23:34:14 +02:00
Guewen Baconnier
766fd39405
Merge pull request #30 from vrenaville/add_module_installed
...
[FIX] test if the module is installed before monkey patching
2015-06-16 10:39:22 +02:00
vrenaville
fad55ba364
[FIX] test if the module is installed before monkey patching
2015-06-15 10:11:18 +02:00
Yannick Vaucher
4a517aa970
Merge pull request #29 from yvaucher/8.0-add-bug-tracker-link
...
Add bug tracker link on README.rst
2015-06-11 15:45:10 +02:00
Yannick Vaucher
42464bea41
Add bug tracker link on README.rst
2015-05-22 19:45:21 +02:00
Pedro M. Baeza
6c8c67e947
Merge pull request #28 from acsone/8.0-fix-get-pdf-v8-api-amu
...
[8.0] [FIX]: change signature of methods print_document & get_pdf for 8.0 api
2015-05-21 11:50:16 +02:00
Anthony Muschang
ab8fe22b47
[FIX] base_report_to_printer: make print_document callable from 8.0 api
2015-05-21 10:12:16 +02:00
Anthony Muschang
43f3ba36f5
[FIX] base_report_to_printer: make get_pdf callable from 8.0 api
2015-05-20 01:08:46 +02:00
Alexandre Fayolle
acad492643
Update travis configuration
...
Follow OCA/maintainer-quality-tools#187 and use addons/apt/package directive to
install our build dependencies. This allows using container based Travis builds
(which should be faster).
2015-05-14 22:14:47 +02:00
Alexandre Fayolle
6deacbe044
don't use travis container-based infrastructure
2015-03-27 16:21:13 +01:00
Guewen Baconnier
ffa54b375e
Merge pull-request #25 from nbessi:fix_mro_issue
...
Compatibility fix for report with custom parser
By calling super.get_pdf in print_document we can encounter trouble with MRO resolution
that prevent custom report parser (e.g. override of get_pdf) to be called.
The fix consist of not calling super and prevent multiple call to 'printer.print_document'
2015-03-20 16:50:40 +01:00
Nicolas Bessi
9e3b34b60c
Improve bloated condition test
2015-03-20 16:49:57 +01:00
Guewen Baconnier
68454324c6
dict.copy() is more efficient than calling dict
2015-03-20 16:49:57 +01:00
Guewen Baconnier
e50efff224
Vague method name, put the predicate method closer to its caller
2015-03-20 16:49:57 +01:00
Guewen Baconnier
a4fe4b0547
Past tense is confusing
2015-03-20 16:49:57 +01:00
Guewen Baconnier
3159f3fa6d
The alteration of the context has no effect
2015-03-20 16:49:57 +01:00
Nicolas Bessi
cd8455e287
Fix set the skip directive in context
...
instead of a faulty return
2015-03-20 16:49:57 +01:00
Nicolas Bessi
6934e02fa5
Compatibility fix for report with custom parser
...
By calling `super.get_pdf` in print_document we can encounter trouble with MRO resolution
that prevent custom report parser (e.g. override of `get_pdf`) to be called.
The fix consist of not calling `super` and prevent multiple call to 'printer.print_document'
2015-03-20 16:49:57 +01:00
Alexandre Fayolle
166aab1d54
Add OCA as author of OCA addons
...
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2015-03-02 17:27:33 +01:00
Pedro M. Baeza
e3e36596c2
Merge pull request #27 from yvaucher/8.0-add-license-key
...
Add license key in __openerp__.py
2015-02-06 20:12:24 +01:00
Yannick Vaucher
39ae29d6bc
Add license key in __openerp__.py
2015-02-06 16:04:09 +01:00
Pedro M. Baeza
4fd3bb67a7
Merge pull request #23 from guewen/base_report_to_printer-no-pdf
...
Do no longer returns a PDF when a report is printed
2015-01-26 21:43:26 +01:00
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
4c803da0e2
Add a limitation in the readme
...
Corrected some typos at the same time
2015-01-21 16:02:34 +01:00
Guewen Baconnier
184cf38716
Updated translations
2015-01-21 15:49:35 +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
Pedro M. Baeza
2f71ee7fac
Merge pull request #13 from guewen/8.0-printer_tray-migr
...
Migration of printer_tray to 8.0
2015-01-20 11:57:40 +01:00
Guewen Baconnier
cacc5423f6
Reset the printer's tray when the printer is changed
2015-01-20 11:44:13 +01:00
Guewen Baconnier
cfdfc8e3a2
Update the description with the OCA template
2015-01-20 11:00:44 +01:00
Guewen Baconnier
80b734b3d9
Add the trays in printing.report.xml.action view
...
So they can be configured per user and per report
2015-01-20 09:34:09 +01:00
Yannick Vaucher
3cd03deb4d
Merge pull request #22 from akretion/8.0-cups-server-configurable
...
base_report_to_printer: add support for remote CUPS server (not just localhost)
2015-01-15 10:26:40 +01:00
Alexis de Lattre
f08023228f
Add CUPS_HOST in more debug logs
2015-01-14 10:11:06 +01:00
Alexis de Lattre
486d8d859e
base_report_to_printer: add support for remote CUPS server (not just localhost)
...
More logging and better error handling
2015-01-08 21:24:00 +01:00
Guewen Baconnier
c9669f93df
Merge pull request #21 from akretion/8.0-auto-add-admin-to-print-group-v2
...
[Usability] Auto-add Administrator user to the Print group
2015-01-05 09:26:53 +01:00
Guewen Baconnier
43ccfd3e61
Merge pull request #20 from akretion/8.0-fix-raw-bug-19
...
[FIX] Bug #19 avoid crash when using 'raw' option
2015-01-05 09:25:40 +01:00
Alexis de Lattre
aba746424d
[Usability] Auto-add Administrator user to the Print group
...
Make XML code more readable
2014-12-29 09:55:31 +01:00
Pedro M. Baeza
7cc0e4eb27
Merge pull request #18 from guewen/base_report_to_printer-security
...
base_report_to_printer: missing security
2014-12-29 09:43:07 +01:00
Alexis de Lattre
7bac04b770
[FIX] Bug #19 avoid crash when using 'raw' option
2014-12-28 01:36:12 +01:00
Guewen Baconnier
b5dbd020a5
Give access to models to all users for reading
...
So they are able to print
2014-12-19 15:13:31 +01:00
Guewen Baconnier
09e9cbee52
Clean the XML file (remove eval, reindent)
2014-12-19 15:09:07 +01:00
Guewen Baconnier
97f11a20dc
Merge pull request #17 from yvaucher/8.0-separate-lint
...
Separated Lint tests
2014-12-18 07:37:07 +01:00
Leonardo Pistone
aaa6fc50ef
Merge pull request #15 from guewen/base_report_to_printer-cron-issue14
...
Use a cron instead of threads to update printers status
2014-12-17 12:31:33 +01:00
Yannick Vaucher
b261688892
Separated Lint tests
2014-12-16 11:18:40 +01:00
Guewen Baconnier
a4d58ea62c
Security file was not loaded
2014-12-09 14:25:58 +01:00
Guewen Baconnier
d3b0c93af4
Remove the PPD file once read, otherwise they accumulate
2014-12-09 14:25:35 +01:00