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
eff3d14d
Commit
eff3d14d
authored
17 years ago
by
Bhatt Chintal
Browse files
Options
Downloads
Patches
Plain Diff
modif to support portal
bzr revid: bch-b997bd98a8193de8e236249e6d041d2ef3eff115
parent
cdbf5c93
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/addons/base/ir/ir_actions.py
+8
-8
8 additions, 8 deletions
bin/addons/base/ir/ir_actions.py
with
8 additions
and
8 deletions
bin/addons/base/ir/ir_actions.py
+
8
−
8
View file @
eff3d14d
...
...
@@ -111,16 +111,16 @@ class act_window(osv.osv):
res
=
{}
for
act
in
self
.
browse
(
cr
,
uid
,
ids
):
res
[
act
.
id
]
=
[(
view
.
view_id
.
id
,
view
.
view_mode
)
for
view
in
act
.
view_ids
]
if
(
not
act
.
view_ids
)
and
act
.
view_id
.
id
:
if
(
not
act
.
view_ids
):
modes
=
act
.
view_mode
.
split
(
'
,
'
)
if
act
.
view_id
.
type
<>
modes
[
0
]:
find
=
False
if
act
.
view_id
.
id
:
res
[
act
.
id
].
append
((
act
.
view_id
.
id
,
act
.
view_id
.
type
))
find
=
False
for
t
in
modes
:
if
t
==
act
.
view_id
.
type
and
not
find
:
find
=
True
continue
res
[
act
.
id
].
append
((
False
,
t
))
for
t
in
modes
:
if
act
.
view_id
and
(
t
==
act
.
view_id
.
type
)
and
not
find
:
find
=
True
continue
res
[
act
.
id
].
append
((
False
,
t
))
return
res
_columns
=
{
...
...
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