Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
738df37f
Commit
738df37f
authored
Mar 11, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: Fixup Coding style tests
parent
cbc8268f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.Delivery.py
...tTemplateItem/portal_components/document.erp5.Delivery.py
+2
-2
No files found.
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.Delivery.py
View file @
738df37f
...
@@ -124,7 +124,7 @@ class Delivery(XMLObject, ImmobilisationDelivery, SimulableMixin,
...
@@ -124,7 +124,7 @@ class Delivery(XMLObject, ImmobilisationDelivery, SimulableMixin,
elif
base_contribution
is
not
None
:
elif
base_contribution
is
not
None
:
base_contribution_list
=
(
base_contribution
,)
base_contribution_list
=
(
base_contribution
,)
else
:
else
:
base_contribution_list
=
[]
base_contribution_list
=
[]
if
isinstance
(
use
,
(
tuple
,
list
)):
if
isinstance
(
use
,
(
tuple
,
list
)):
use_list
=
use
use_list
=
use
elif
use
is
not
None
:
elif
use
is
not
None
:
...
@@ -148,7 +148,7 @@ class Delivery(XMLObject, ImmobilisationDelivery, SimulableMixin,
...
@@ -148,7 +148,7 @@ class Delivery(XMLObject, ImmobilisationDelivery, SimulableMixin,
result
=
0
result
=
0
else
:
else
:
matched_movement_list
=
[
matched_movement_list
=
[
movement
movement
for
movement
in
self
.
getMovementList
()
for
movement
in
self
.
getMovementList
()
if
set
(
movement
.
getBaseContributionValueList
()).
intersection
(
base_contribution_value_list
)
if
set
(
movement
.
getBaseContributionValueList
()).
intersection
(
base_contribution_value_list
)
or
set
(
movement
.
getUseValueList
()).
intersection
(
use_value_list
)]
or
set
(
movement
.
getUseValueList
()).
intersection
(
use_value_list
)]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment