lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit d5c74ce2 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 756ea074
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