[IMP] l10n_lu:-revert the changes of yml
bzr revid: mtr@mtr-20101019120805-ekfkj96a08brz93f
This commit is contained in:
parent
4fb47235f6
commit
fddbe3c3de
|
@ -9,10 +9,8 @@
|
|||
-
|
||||
!python {model: res.partner}: |
|
||||
import netsvc, tools, os
|
||||
try:
|
||||
(data, format) = netsvc.LocalService('report.l10n_lu.tax.report.print').create(cr, uid, [], {'model':'ir.ui.menu', 'form':{'tax_code_id': ref('account_tax_code_id_r1'), 'period_id': ref('account.period_1')}}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'l10n_lu-vat_report.'+format), 'wb+').write(data)
|
||||
except:
|
||||
pass
|
||||
(data, format) = netsvc.LocalService('report.l10n_lu.tax.report.print').create(cr, uid, [], {'model':'ir.ui.menu', 'form':{'tax_code_id': ref('account_tax_code_id_r1'), 'period_id': ref('account.period_1')}}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'l10n_lu-vat_report.'+format), 'wb+').write(data)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue