After credit an invoice is paid

This commit is contained in:
Raimon Esteve 2020-06-26 18:03:10 +02:00
parent 273dcba3f2
commit 639a0c9d30
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ Credit invoice with refund::
>>> credit.execute('credit')
>>> invoice.reload()
>>> invoice.state
'cancel'
'paid'
>>> credit, = Invoice.find([('total_amount', '<', 0)])
>>> credit.sii_operation_key
'R1'