[FIX] l10n_ch: fix yaml test still using deprecated lib_path on res.company

bzr revid: xal@openerp.com-20120417073434-j07yjp69bljd8sop
This commit is contained in:
Xavier ALT 2012-04-17 09:34:34 +02:00
parent ccafcb6d90
commit a0c243899e
1 changed files with 1 additions and 1 deletions

View File

@ -57,4 +57,4 @@
!python {model: account.invoice}: |
from tools.test_reports import try_report
company = self.pool.get('res.users').browse(cr, uid, uid).company_id
company.lib_path and try_report(cr, uid, 'report.invoice_web_bvr', [ref('l10n_ch_invoice')]) or 'Webkit lib not set'
try_report(cr, uid, 'report.invoice_web_bvr', [ref('l10n_ch_invoice')]) or 'Unable to find Webkit'