[FIX] payment: allow to set done a payment.transaction in pending state
[FIX] payment: allow to set done a payment.transaction in pending state

- If a payment.transaction is in pending state, it was impossible to set
  it to done.

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo