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
b84f1351
Commit
b84f1351
authored
1 year ago
by
Etienne Ferriere
Browse files
Options
Downloads
Patches
Plain Diff
Corrected the typing errors linked to a correction for ``black``.
parent
9c777f9e
No related branches found
No related tags found
1 merge request
!32
Corrected the typing errors linked to a correction for ``black``.
Pipeline
#79744
passed
1 year ago
Stage: build
Stage: test
Stage: doc
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/analytic_structure.py
+2
-2
2 additions, 2 deletions
models/analytic_structure.py
with
2 additions
and
2 deletions
models/analytic_structure.py
+
2
−
2
View file @
b84f1351
...
...
@@ -233,7 +233,7 @@
def
add_field
():
src
=
self
.
format_field_name
(
slot
,
prefix
,
suffix
)
dest
=
self
.
format_field_name
(
dest_slot
,
dest_prefix
,
dest_suffix
)
dest
=
self
.
format_field_name
(
_
dest_slot
,
dest_prefix
,
dest_suffix
)
if
src
in
source
:
try
:
res
[
dest
]
=
source
[
src
].
id
...
...
@@ -246,7 +246,7 @@
if
dest_model
is
None
or
dest_model
==
model
:
for
slots
in
list
(
src_dim
.
values
()):
for
slot
in
slots
:
dest_slot
=
slot
_
dest_slot
=
slot
add_field
()
else
:
...
...
This diff is collapsed.
Click to expand it.
Vincent Hatakeyama
@vincent.hatakeyama
mentioned in commit
f8069841cee0
·
1 year ago
mentioned in commit
f8069841cee0
mentioned in commit f8069841cee0a9f66549bbc2b7784c4a75cd970b
Toggle commit list
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