[MERGE] OPW 18001: do not lock-out user when payment.order is 'done', allow it to...
authorXavier ALT <xal@openerp.com>
Tue, 6 Mar 2012 14:00:39 +0000 (15:00 +0100)
committerXavier ALT <xal@openerp.com>
Tue, 6 Mar 2012 14:00:39 +0000 (15:00 +0100)
commit4fddc94ef7ea9b5311fdc35026789912bc1b8ec9
tree5b80bb7d2604234cfcd905aab2bfcd4ef14f56ec
parent2936b336ef47f6454153b75374e8d321506fa1a6
parent58996f6a426de4d1fa999a6a4a808d2ed71ad0e2
[MERGE] OPW 18001: do not lock-out user when payment.order is 'done', allow it to cancel it

  - When 'Payment Order' is in 'done' state, the workflow is frozen and the
    user is unable to cancel it (required in case bank refuse the payment).
    This allow to cancel the payment order except when some lines are already
    imported in a bank statement (i.e payment done bank-side: modification
    forbidden).

bzr revid: xal@openerp.com-20120306140039-5r8l3xrzbaq70xev