Commit 313d5e2c authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: automated ledger path

parent bb829bc2
...@@ -39,7 +39,7 @@ if current_invoice is None: ...@@ -39,7 +39,7 @@ if current_invoice is None:
payment_transaction = portal.restrictedTraverse(payment) payment_transaction = portal.restrictedTraverse(payment)
current_invoice.edit( current_invoice.edit(
title="Reservation Fee", title="Reservation Fee",
ledger_value=portal.portal_categories.ledger.accounting.automated, ledger_value=portal.portal_categories.ledger.automated,
destination_value=context.getDestinationSection(), destination_value=context.getDestinationSection(),
destination_section_value=context.getDestinationSection(), destination_section_value=context.getDestinationSection(),
destination_decision_value=context.getDestinationSection(), destination_decision_value=context.getDestinationSection(),
......
...@@ -62,7 +62,7 @@ delivery.edit( ...@@ -62,7 +62,7 @@ delivery.edit(
price_currency=sale_invoice_transaction.getPriceCurrency(), price_currency=sale_invoice_transaction.getPriceCurrency(),
source=sale_invoice_transaction.getSource(), 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, ledger_value=portal.portal_categories.ledger.automated,
) )
line = delivery.newContent( line = delivery.newContent(
......
...@@ -33,7 +33,7 @@ if current_invoice is None: ...@@ -33,7 +33,7 @@ if current_invoice is None:
now = DateTime() now = DateTime()
current_payment.edit( current_payment.edit(
title="Payment for Reservation Fee", title="Payment for Reservation Fee",
ledger_value=portal.portal_categories.ledger.accounting.automated, ledger_value=portal.portal_categories.ledger.automated,
specialise_value=trade_condition, specialise_value=trade_condition,
destination_value=context.getDestinationSection(), destination_value=context.getDestinationSection(),
destination_section_value=context.getDestinationSection(), destination_section_value=context.getDestinationSection(),
......
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