mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Can set Py3o servers as inactive
--HG-- branch : odoo8
This commit is contained in:
@@ -158,7 +158,7 @@ class Py3oParser(report_sxw):
|
||||
|
||||
fusion_server_obj = pool.get('py3o.server')
|
||||
fusion_server_ids = fusion_server_obj.search(
|
||||
cr, uid, [], context=context, limit=1
|
||||
cr, uid, [('is_active', '=', True)], context=context, limit=1
|
||||
)
|
||||
if not fusion_server_ids:
|
||||
if filetype.fusion_ext == report_xml.py3o_template_id.filetype:
|
||||
|
||||
Reference in New Issue
Block a user