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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
d3e0e943
Commit
d3e0e943
authored
May 18, 2020
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_base: BuilderMixin add Missing Initialization for a variable
parent
b5058a88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
bt5/erp5_base/MixinTemplateItem/portal_components/mixin.erp5.BuilderMixin.py
...TemplateItem/portal_components/mixin.erp5.BuilderMixin.py
+1
-0
No files found.
bt5/erp5_base/MixinTemplateItem/portal_components/mixin.erp5.BuilderMixin.py
View file @
d3e0e943
...
@@ -529,6 +529,7 @@ class BuilderMixin(XMLObject, Amount, Predicate):
...
@@ -529,6 +529,7 @@ class BuilderMixin(XMLObject, Amount, Predicate):
original_order_quantity_unit_value
=
supply
.
getOrderQuantityUnitValue
()
original_order_quantity_unit_value
=
supply
.
getOrderQuantityUnitValue
()
original_batch_order_quantity
=
supply
.
getBatchOrderQuantity
()
original_batch_order_quantity
=
supply
.
getBatchOrderQuantity
()
# Create a movement per period
# Create a movement per period
next_next_period_start_date
=
None
for
period_start_date
in
limit_date_list
:
for
period_start_date
in
limit_date_list
:
# Prepare history list of the current period
# Prepare history list of the current period
next_period_start_date
=
DateTime
(
supply
.
getNextPeriodicalDate
(
next_period_start_date
=
DateTime
(
supply
.
getNextPeriodicalDate
(
...
...
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