Skip to content
Snippets Groups Projects
Commit 45580c3f authored by Fabien Pinckaers's avatar Fabien Pinckaers
Browse files

fix

bzr revid: fp@tinyerp.com-20111115001912-2uor8v5t33wuh1n8
parent b859fbd8
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@
-
In order to test the PDF BVR webkit reports defined on an invoice, we will create a Invoice Record
-
!record {model: account.invoice, id: l10n_ch_invoice}:
!record {model: account.invoice, id: l10n_ch_invoice, view: False}:
currency_id: base.CHF
company_id: base.main_company
address_invoice_id: res_partner_address_2
......@@ -49,7 +49,7 @@
-
In order to test the BVR report, I will assign a bank to the invoice
-
!record {model: account.invoice, id: l10n_ch_invoice}:
!record {model: account.invoice, id: l10n_ch_invoice, view: False}:
partner_bank_id: main_partner_bank
-
In order to test the PDF reports defined on a l10n_ch, we will print BVR Report
......@@ -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'
\ No newline at end of file
company.lib_path and try_report(cr, uid, 'report.invoice_web_bvr', [ref('l10n_ch_invoice')]) or 'Webkit lib not set'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment