Commit c74e8a68 authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Xiaowu Zhang

erp5_accounting: round debit credit for payment transaction

parent 90551da8
...@@ -5,3 +5,5 @@ payment_transaction = context ...@@ -5,3 +5,5 @@ payment_transaction = context
# initialize accounting_workflow to planned state # initialize accounting_workflow to planned state
if payment_transaction.getSimulationState() == "draft": if payment_transaction.getSimulationState() == "draft":
payment_transaction.plan(comment=translateString("Initialised by Delivery Builder.")) payment_transaction.plan(comment=translateString("Initialised by Delivery Builder."))
payment_transaction.AccountingTransaction_roundDebitCredit()
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