bzr revid: fp@tinyerp.com-20111115001912-2uor8v5t33wuh1n8
This commit is contained in:
Fabien Pinckaers 2011-11-15 01:19:12 +01:00
parent b859fbd8c6
commit 45580c3f53
1 changed files with 3 additions and 3 deletions

View File

@ -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'
company.lib_path and try_report(cr, uid, 'report.invoice_web_bvr', [ref('l10n_ch_invoice')]) or 'Webkit lib not set'