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

slapos_subscription_request: hardcode automated ledger category for the newly...

slapos_subscription_request: hardcode automated ledger category for the newly created sale packing list
parent 35c1360c
......@@ -61,7 +61,8 @@ delivery.edit(
causality_uid=context.getUid(),
price_currency=sale_invoice_transaction.getPriceCurrency(),
source=sale_invoice_transaction.getSource(),
source_section=sale_invoice_transaction.getSourceSection()
source_section=sale_invoice_transaction.getSourceSection(),
ledger_value=portal.portal_categories.ledger.accounting.automated,
)
line = delivery.newContent(
......
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