mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] add support of variables in queries
[FIX] encoding with mogrify [FIX] hide placeholder
This commit is contained in:
@@ -40,6 +40,8 @@ class TestExportSqlQuery(TransactionCase):
|
||||
def test_sql_query(self):
|
||||
test = self.sql_model.export_sql_query(
|
||||
self.cr, self.uid, [self.query_id])
|
||||
self.registry('sql.file.wizard').export_sql(
|
||||
self.cr, self.uid, test['res_id'])
|
||||
wizard = self.registry('sql.file.wizard').browse(
|
||||
self.cr, self.uid, test['res_id'])
|
||||
export = base64.b64decode(wizard.binary_file)
|
||||
|
||||
Reference in New Issue
Block a user