Commit Graph

7 Commits

Author SHA1 Message Date
Lorenzo Battistini
5db700c439 [FIX] context=None 2017-10-03 18:05:15 +02:00
Lorenzo Battistini
64f8a7ff18 [fix] get_default return value 2017-10-03 18:05:14 +02:00
Lorenzo Battistini
b452b33b38 [FIX] print_direct return value 2017-10-03 18:05:14 +02:00
Lorenzo Battistini
6930c5cf6e [FIX] update method is accessible from XML/RPC and should return something else than None which is forbidden 2017-10-03 18:05:14 +02:00
Lorenzo Battistini
ced1d0c13d [FIX] We better have to use the "with" syntax 2017-10-03 18:05:14 +02:00
Lorenzo Battistini
4498bced20 [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
2017-10-03 18:05:14 +02:00
Lorenzo Battistini
feae5dba24 [ADD] base_report_to_printer 2017-10-03 18:05:14 +02:00