Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
45580c3f
Commit
45580c3f
authored
13 years ago
by
Fabien Pinckaers
Browse files
Options
Downloads
Patches
Plain Diff
fix
bzr revid: fp@tinyerp.com-20111115001912-2uor8v5t33wuh1n8
parent
b859fbd8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
addons/l10n_ch/test/l10n_ch_report.yml
+3
-3
3 additions, 3 deletions
addons/l10n_ch/test/l10n_ch_report.yml
with
3 additions
and
3 deletions
addons/l10n_ch/test/l10n_ch_report.yml
+
3
−
3
View file @
45580c3f
...
...
@@ -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'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment