After credit an invoice is paid
This commit is contained in:
parent
273dcba3f2
commit
639a0c9d30
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue