diff --git a/addons/l10n_ch/test/l10n_ch_report.yml b/addons/l10n_ch/test/l10n_ch_report.yml index f120b14f33b..b02fa36c72c 100644 --- a/addons/l10n_ch/test/l10n_ch_report.yml +++ b/addons/l10n_ch/test/l10n_ch_report.yml @@ -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' diff --git a/addons/report_webkit/company.py b/addons/report_webkit/company.py index 8be9b4005dd..a8dc71f220f 100644 --- a/addons/report_webkit/company.py +++ b/addons/report_webkit/company.py @@ -50,6 +50,9 @@ class ResCompany(osv.osv): 'html_id', 'Available html', ), + 'lib_path' : fields.char('Webkit Executable Path (Deprecated)', size=264, + help="This option is now deprecated in favor of autodetection of webkit location", + invisible=1), } ResCompany()