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
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
5da05f02
Commit
5da05f02
authored
Oct 17, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post merge: fixup typo from
5c09e2e2
parent
a711fc66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5/Document/SubscriptionItem.py
product/ERP5/Document/SubscriptionItem.py
+2
-1
No files found.
product/ERP5/Document/SubscriptionItem.py
View file @
5da05f02
...
@@ -112,6 +112,7 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin,
...
@@ -112,6 +112,7 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin,
"""
"""
from
Products.ERP5Type.Document
import
newTempMovement
from
Products.ERP5Type.Document
import
newTempMovement
result
=
[]
result
=
[]
catalog_tool
=
getToolByName
(
self
,
'portal_catalog'
)
# Now generate movements for each valid open order
# Now generate movements for each valid open order
for
movement
in
catalog_tool
(
portal_type
=
"Open Sale Order Line"
,
for
movement
in
catalog_tool
(
portal_type
=
"Open Sale Order Line"
,
...
@@ -138,7 +139,7 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin,
...
@@ -138,7 +139,7 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin,
price
=
movement
.
getPrice
()
price
=
movement
.
getPrice
()
price_currency
=
movement
.
getPriceCurrency
()
price_currency
=
movement
.
getPriceCurrency
()
base_application_list
=
movement
.
getBaseApplicationList
()
base_application_list
=
movement
.
getBaseApplicationList
()
base_contribution_list
=
mov
h
ement
.
getBaseContributionList
()
base_contribution_list
=
movement
.
getBaseContributionList
()
use_list
=
movement
.
getUseList
()
use_list
=
movement
.
getUseList
()
specialise
=
movement
.
getSpecialise
()
specialise
=
movement
.
getSpecialise
()
...
...
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