mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[fix] get_default return value
This commit is contained in:
committed by
Sylvain GARANCHER
parent
b452b33b38
commit
64f8a7ff18
@@ -178,7 +178,7 @@ class printing_printer(osv.osv):
|
|||||||
printer_ids = self.search(cr, uid,[('default','=',True)])
|
printer_ids = self.search(cr, uid,[('default','=',True)])
|
||||||
if printer_ids:
|
if printer_ids:
|
||||||
return printer_ids[0]
|
return printer_ids[0]
|
||||||
return None
|
return False
|
||||||
|
|
||||||
printing_printer()
|
printing_printer()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user