Commit d3e0e943 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_base: BuilderMixin add Missing Initialization for a variable

parent b5058a88
...@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment