Commit 2a225a86 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: open order must propagate the ledger value

parent 3ce95702
...@@ -69,6 +69,7 @@ for movement in movement_list: ...@@ -69,6 +69,7 @@ for movement in movement_list:
source_section=movement.getSourceSection(), source_section=movement.getSourceSection(),
destination_section=movement.getDestination(), destination_section=movement.getDestination(),
destination_decision=movement.getDestination(), destination_decision=movement.getDestination(),
ledger=movement.getLedger(),
specialise=specialise, specialise=specialise,
price_currency=movement.getPriceCurrency(), price_currency=movement.getPriceCurrency(),
start_date=movement.getStartDate(), start_date=movement.getStartDate(),
......
...@@ -15,7 +15,7 @@ def newPackingList(movement, causality, message): ...@@ -15,7 +15,7 @@ def newPackingList(movement, causality, message):
price_currency=movement.getPriceCurrency(), price_currency=movement.getPriceCurrency(),
causality=causality, causality=causality,
start_date=movement.getStartDate(), start_date=movement.getStartDate(),
ledger_value=portal.portal_categories.ledger.accounting.automated, ledger=movement.getLedger(),
) )
delivery.confirm(message) delivery.confirm(message)
......
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