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
8915f444
Commit
8915f444
authored
11 years ago
by
Antony Lesuisse
Browse files
Options
Downloads
Patches
Plain Diff
[IMP] report, form view hide paperformat when not needed
bzr revid: al@openerp.com-20140307011359-nyj794c9pzkg64fh
parent
66988eef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
addons/report/views/res_company_view.xml
+0
-19
0 additions, 19 deletions
addons/report/views/res_company_view.xml
addons/report/views/views.xml
+2
-2
2 additions, 2 deletions
addons/report/views/views.xml
with
2 additions
and
21 deletions
addons/report/views/res_company_view.xml
deleted
100644 → 0
+
0
−
19
View file @
66988eef
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record
id=
"reporting_settings_form_inherited"
model=
"ir.ui.view"
>
<field
name=
"name"
>
view_company_form_inherited
</field>
<field
name=
"inherit_id"
ref=
"base.view_company_form"
/>
<field
name=
"model"
>
res.company
</field>
<field
name=
"arch"
type=
"xml"
>
<data>
<xpath
expr=
"//group[@string='Footer Configuration']"
position=
"after"
>
<group
string=
"QWeb PDF Configuration"
>
<field
name=
"paperformat_id"
/>
</group>
</xpath>
</data>
</field>
</record>
</data>
</openerp>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
addons/report/views/views.xml
+
2
−
2
View file @
8915f444
...
...
@@ -78,8 +78,8 @@
<field
name=
"model"
>
ir.actions.report.xml
</field>
<field
name=
"arch"
type=
"xml"
>
<data>
<xpath
expr=
"//field[@name='
multi
']"
position=
"after"
>
<field
name=
"paperformat_id"
/>
<xpath
expr=
"//field[@name='
attachment
']"
position=
"after"
>
<field
name=
"paperformat_id"
attrs=
"{'invisible':[('report_type','not in',['qweb-pdf'])]}"
/>
<button
type=
"object"
class=
"oe_link"
...
...
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