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
Labels
Merge Requests
140
Merge Requests
140
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
834d4502
Commit
834d4502
authored
Mar 09, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require both dates correctly set to expand.
parent
8376cd12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
product/ERP5/Document/SubscriptionItem.py
product/ERP5/Document/SubscriptionItem.py
+3
-0
No files found.
product/ERP5/Document/SubscriptionItem.py
View file @
834d4502
...
@@ -281,6 +281,9 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin, Periodici
...
@@ -281,6 +281,9 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin, Periodici
resource
=
movement
.
getResource
()
resource
=
movement
.
getResource
()
start_date
=
movement
.
getStartDate
()
start_date
=
movement
.
getStartDate
()
stop_date
=
movement
.
getStopDate
()
stop_date
=
movement
.
getStopDate
()
if
start_date
is
None
or
stop_date
is
None
or
start_date
>
stop_date
:
# infinity nor time back machine does not exist
continue
source
=
movement
.
getSource
()
source
=
movement
.
getSource
()
source_section
=
movement
.
getSourceSection
()
source_section
=
movement
.
getSourceSection
()
source_decision
=
movement
.
getSourceDecision
()
source_decision
=
movement
.
getSourceDecision
()
...
...
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