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

disable notimplemented new profit & loss movement

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