accounting: make it possible to delete in cancelled state

There is no good reason to prevent editing in cancelled state and
it can be needed, for example to remove a cancelled payment
transaction from a payment transaction group.
8 jobs for feat/accounting_edit_cancelled in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

00:54:15

passed ERP5.CodingStyleTest-TestRunner1

00:36:14

passed ERP5.PerformanceTest-TestRunner1

00:25:58

failed ERP5.UnitTest-Master

01:24:44

failed ERP5.UnitTest-Master.Medusa

02:58:51

failed ERP5.UnitTest-TestRunner1

01:08:49

failed ERP5.UnitTest-TestRunner1

01:00:10

canceled ERP5.UnitTest-TestRunner1