From 9337fae721af952a4b1541ad142202e4e12c4e11 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Sat, 9 Feb 2013 07:49:48 +0100 Subject: [PATCH] [FIX] l10n_fr: openerp does not export time (which was in fact uneeded). bzr revid: vmt@openerp.com-20130209064948-vvqp352qd3a86t73 --- addons/l10n_fr/test/l10n_fr_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/l10n_fr/test/l10n_fr_report.yml b/addons/l10n_fr/test/l10n_fr_report.yml index 1e036d379a5..44db53d0a77 100644 --- a/addons/l10n_fr/test/l10n_fr_report.yml +++ b/addons/l10n_fr/test/l10n_fr_report.yml @@ -2,7 +2,7 @@ In order to test the PDF reports defined on a l10n_fr, we will print an Account Move Line Report for l10n_fr - !python {model: account.move.line}: | - import os, time + import os from openerp import netsvc, tools (data, format) = netsvc.LocalService('report.l10n.fr.bilan').create(cr, uid, [], {'model':'account.move.line', 'form':{'fiscalyear_id': ref('account.data_fiscalyear')}}, {}) if tools.config['test_report_directory']: @@ -13,7 +13,7 @@ - !python {model: account.move.line}: | import os - from openerp import netsvc, tools,time + from openerp import netsvc, tools (data, format) = netsvc.LocalService('report.l10n.fr.compute_resultant').create(cr, uid, [], {'model':'account.move.line', 'form':{'fiscalyear_id': ref('account.data_fiscalyear')}}, {}) if tools.config['test_report_directory']: file(os.path.join(tools.config['test_report_directory'], 'l10n_fr-compute_resultant_report.'+format), 'wb+').write(data)