Commit cb4282ca authored by Jérome Perrin's avatar Jérome Perrin

accounting: round accounting lines after building payment transaction

Like we do on invoice and other accounting transaction we build
parent 2c3a9e87
Pipeline #39939 failed with stage
in 0 seconds
from Products.ERP5Type.Message import translateString
payment_transaction = context
payment_transaction.AccountingTransaction_roundDebitCredit()
# initialize accounting_workflow to planned state
if payment_transaction.getSimulationState() == "draft":
......
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