Commit 07f20256 authored by Sebastien Robin's avatar Sebastien Robin

added resource, it required for invoice lines

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6345 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 56be20b0
...@@ -63,13 +63,13 @@ class SplitAndDefer(CopyToTarget): ...@@ -63,13 +63,13 @@ class SplitAndDefer(CopyToTarget):
efficiency=movement.getEfficiency(), efficiency=movement.getEfficiency(),
start_date=self.start_date, start_date=self.start_date,
stop_date=self.stop_date, stop_date=self.stop_date,
# XXX resource
order=movement.getOrder(), order=movement.getOrder(),
deliverable=movement.isDeliverable(), deliverable=movement.isDeliverable(),
quantity=movement_quantity-new_movement_quantity, quantity=movement_quantity-new_movement_quantity,
source = movement.getSource(), source = movement.getSource(),
destination = movement.getDestination(), destination = movement.getDestination(),
source_section = movement.getSourceSection(), source_section = movement.getSourceSection(),
resource = movement.getResource(),
destination_section = movement.getDestinationSection(), destination_section = movement.getDestinationSection(),
activate_kw=self.activate_kw, activate_kw=self.activate_kw,
**self.additional_parameters **self.additional_parameters
......
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