Commit Graph

19 Commits

Author SHA1 Message Date
Yannick Vaucher
d28200628e [IMP] base_report_to_printer - use an action id in an action method instead of a report id makes more sens 2013-10-01 13:24:10 +02:00
Yannick Vaucher
2e51657de9 [IMP] base_report_to_printer - add report_id on print_direct 2013-10-01 12:46:20 +02:00
Yannick Vaucher
321a355482 [IMP] base_report_to_printer - replace lpr by use of pycups 2013-09-30 17:31:48 +02:00
Yannick Vaucher
ef6f817cb7 [TYPO] 2013-09-30 14:08:51 +02:00
Yannick Vaucher
ac03496959 [IMP] base_report_to_printer - simplify calls on class 2013-09-30 13:46:04 +02:00
Yannick Vaucher
18a351349d [IMP] base_report_to_printer - remove class call 2013-09-30 13:05:10 +02:00
Yannick Vaucher
f30200c090 [IMP] base_report_to_printer - clean imports 2013-09-30 13:03:49 +02:00
Yannick Vaucher
c19ab3e0e5 [IMP] base_report_to_printer - remove class calls and use orm.Model and orm.TransientModel instead of osv aliases 2013-09-30 11:56:20 +02:00
Yannick Vaucher
890d0d64ec [IMP] base_report_to_printer - retab and clean extra spaces 2013-09-30 11:50:14 +02:00
Andrew Schrafel
56a5655680 base_report_to_printer V7 upgrade 2013-03-14 22:30:25 -04:00
Lorenzo Battistini
c98db4a9f6 [FIX] isinstance(printer, (str,unicode)):
replaced by isinstance(printer, basestring)
2012-12-06 16:09:06 +01:00
Lorenzo Battistini
819e38b62e [FIX] using logging 2012-12-06 16:01:59 +01:00
Lorenzo Battistini
244a5a3a61 [FIX] context=None 2012-12-06 15:52:32 +01:00
Lorenzo Battistini
457d20b349 [fix] get_default return value 2012-12-06 15:49:31 +01:00
Lorenzo Battistini
f94d0e30ea [FIX] print_direct return value 2012-12-06 15:48:47 +01:00
Lorenzo Battistini
56a1e71cc5 [FIX] update method is accessible from XML/RPC and should return something else than None which is forbidden 2012-12-06 15:47:51 +01:00
Lorenzo Battistini
5249f293fd [FIX] We better have to use the "with" syntax 2012-12-06 15:46:53 +01:00
Lorenzo Battistini
5ac57dfd79 [FIX] The close should be done in the finally: clause of a try: except: because if an exception occurs,
a postgresql transaction will be leaked.
The except clause should properly rollback the cr
2012-12-04 12:05:15 +01:00
Lorenzo Battistini
5823ff1aa4 [ADD] base_report_to_printer 2012-11-22 22:22:52 +01:00