Before this commit, trying to put a transaction in a state where it was already in was causing an error. For example: Putting a transaction in'Done' when it was already in'Done' caused an error 'Only draft/authorized transaction can be posted.' Now, we just log a note that the transaction is already in the good state and pass over. closes odoo/odoo#41701 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>