Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Analytic Structure
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
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
XCG
Odoo modules
Analytic Structure
Commits
3f77197eaa56
Commit
3f77197eaa56
authored
11 years ago
by
alorimier
Browse files
Options
Downloads
Patches
Plain Diff
Add string to display the name of the field Dimension during the import
parent
ef3c583d85ca
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
analytic_code.py
+1
-1
1 addition, 1 deletion
analytic_code.py
with
1 addition
and
1 deletion
analytic_code.py
+
1
−
1
View file @
3f77197e
...
...
@@ -27,7 +27,7 @@
_columns
=
dict
(
name
=
fields
.
char
(
"
Name
"
,
size
=
128
,
translate
=
True
,
required
=
True
),
nd_id
=
fields
.
many2one
(
"
analytic.dimension
"
,
ondelete
=
"
restrict
"
),
"
analytic.dimension
"
,
"
Dimensions
"
,
ondelete
=
"
restrict
"
),
active
=
fields
.
boolean
(
'
Active
'
),
nd_name
=
fields
.
related
(
'
nd_id
'
,
'
name
'
,
type
=
"
char
"
,
string
=
"
Dimension Name
"
,
store
=
False
),
...
...
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