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
Klaus Wölfel
erp5
Commits
258577ad
Commit
258577ad
authored
May 18, 2020
by
Cédric Le Ninivin
Committed by
Klaus Wölfel
Apr 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_base: BuilderMixin add Missing Initialization for a variable
parent
588fd978
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 @
258577ad
...
@@ -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