Commit e41d4e6f authored by Jérome Perrin's avatar Jérome Perrin

Revert "disable notimplemented new profit & loss movement"

This reverts commit 456574992e1f05999b251efa9169cff6b9436fef.
parent 48067dae
...@@ -468,8 +468,6 @@ class RuleMixin(Predicate): ...@@ -468,8 +468,6 @@ class RuleMixin(Predicate):
updatable_compensation_movement.getQuantity() + missing_quantity) updatable_compensation_movement.getQuantity() + missing_quantity)
updatable_compensation_movement.clearRecordedProperty('quantity') updatable_compensation_movement.clearRecordedProperty('quantity')
else: else:
print "PROFIT & LOSS SKIPPED"
return
# We must create a profit and loss movement # We must create a profit and loss movement
new_movement = self._newProfitAndLossMovement(prevision_movement) new_movement = self._newProfitAndLossMovement(prevision_movement)
movement_collection_diff.addNewMovement(new_movement) movement_collection_diff.addNewMovement(new_movement)
......
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