set invoice state = paid programmatically
we know about register-payment and account_payment module....
but regardless of this odoo method we want to change the state of an invoice to paid.
in our custom Method we use:
But the state in the Database seems to be unchanged.
any ideas why this fails?