[FIX] l10n_fr: openerp does not export time (which was in fact uneeded).

bzr revid: vmt@openerp.com-20130209064948-vvqp352qd3a86t73
This commit is contained in:
Vo Minh Thu 2013-02-09 07:49:48 +01:00
parent f4b6be2f66
commit 9337fae721
1 changed files with 2 additions and 2 deletions

View File

@ -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)