9 Commits

Author SHA1 Message Date
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