Commit 1f1cf2cf authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: hardcode automated ledger category for the newly created sale packing list

parent 1deb1ae7
......@@ -14,7 +14,9 @@ def newPackingList(movement, causality, message):
specialise=movement.getSpecialise(),
price_currency=movement.getPriceCurrency(),
causality=causality,
start_date=movement.getStartDate())
start_date=movement.getStartDate(),
ledger_value=portal.portal_categories.ledger.accounting.automated,
)
delivery.confirm(message)
return delivery
......
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