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
Merge requests
!36
Allow conditional requirement in analytic code display.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Allow conditional requirement in analytic code display.
topic/13.0/TG-1115
into
branch/13.0
Overview
0
Commits
1
Pipelines
3
Changes
3
Merged
Etienne Ferriere
requested to merge
topic/13.0/TG-1115
into
branch/13.0
8 months ago
Overview
0
Commits
1
Pipelines
3
Changes
3
Expand
--HG-- branch : 13.0
0
0
Merge request reports
Compare
branch/13.0
version 2
fd7e0323
8 months ago
version 1
a6bec7df
8 months ago
branch/13.0 (base)
and
latest version
latest version
a5c716b4
1 commit,
8 months ago
version 2
fd7e0323
1 commit,
8 months ago
version 1
a6bec7df
1 commit,
8 months ago
3 files
+
9
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
models/analytic_structure.py
+
3
−
1
Options
@@ -446,7 +446,9 @@ class AnalyticStructure(models.Model):
@@ -446,7 +446,9 @@ class AnalyticStructure(models.Model):
if
elem
.
attrib
.
get
(
attr
,
"
False
"
)
if
elem
.
attrib
.
get
(
attr
,
"
False
"
)
in
(
"
True
"
,
"
true
"
,
"
1
"
)
in
(
"
True
"
,
"
true
"
,
"
1
"
)
}
}
attributes
[
"
required
"
]
=
bool
(
ordering
in
required
)
attributes
[
"
required
"
]
=
modifiers
.
get
(
"
required
"
,
bool
(
ordering
in
required
)
)
attrs
[
"
modifiers
"
]
=
json
.
dumps
(
attributes
)
attrs
[
"
modifiers
"
]
=
json
.
dumps
(
attributes
)
for
attr
,
value
in
list
(
elem
.
attrib
.
items
()):
for
attr
,
value
in
list
(
elem
.
attrib
.
items
()):
if
attr
in
[
"
name
"
,
"
prefix
"
,
"
suffix
"
,
"
modifiers
"
]:
if
attr
in
[
"
name
"
,
"
prefix
"
,
"
suffix
"
,
"
modifiers
"
]:
Loading