From af546c56523960c79d3b5044c1bc81c759e9cbc8 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Wed, 1 Aug 2018 10:48:50 +0200 Subject: [PATCH] [FIX] numbercall value set to -1 --- bi_sql_editor/models/bi_sql_view.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bi_sql_editor/models/bi_sql_view.py b/bi_sql_editor/models/bi_sql_view.py index 395ebdbf..350de568 100644 --- a/bi_sql_editor/models/bi_sql_view.py +++ b/bi_sql_editor/models/bi_sql_view.py @@ -277,7 +277,8 @@ class BiSQLView(models.Model): 'user_id': SUPERUSER_ID, 'model': 'bi.sql.view', 'function': 'cron_refresh_materialized_view', - 'args': repr(([self.id],)) + 'numbercall': -1, + 'args': repr(([self.id],)), } @api.multi