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
bcbd2632
Commit
bcbd2632
authored
10 years ago
by
Fabien Pinckaers
Browse files
Options
Downloads
Patches
Plain Diff
[IMP] Adding fields
bzr revid: fp@tinyerp.com-20140511074755-5b3iy2b1xk7cjxmf
parent
80ea7fe0
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
openerp/addons/base/ir/ir_ui_view.py
+2
-0
2 additions, 0 deletions
openerp/addons/base/ir/ir_ui_view.py
with
2 additions
and
0 deletions
openerp/addons/base/ir/ir_ui_view.py
+
2
−
0
View file @
bcbd2632
...
...
@@ -129,6 +129,8 @@ class view(osv.osv):
'
groups_id
'
:
fields
.
many2many
(
'
res.groups
'
,
'
ir_ui_view_group_rel
'
,
'
view_id
'
,
'
group_id
'
,
string
=
'
Groups
'
,
help
=
"
If this field is empty, the view applies to all users. Otherwise, the view applies to the users of those groups only.
"
),
'
model_ids
'
:
fields
.
one2many
(
'
ir.model.data
'
,
'
res_id
'
,
domain
=
[(
'
model
'
,
'
=
'
,
'
ir.ui.view
'
)],
auto_join
=
True
),
'
create_date
'
:
fields
.
datetime
(
'
Create Date
'
,
readonly
=
True
),
'
write_date
'
:
fields
.
datetime
(
'
Last Modification Date
'
,
readonly
=
True
),
}
_defaults
=
{
'
priority
'
:
16
,
...
...
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