[FIX] payment_ogone: Waiting status

Waiting status should be seen as pending status:
They require a manual intervention, except
if a new feedback is provided later.

opw-649302
This commit is contained in:
Denis Ledoux 2015-09-14 12:44:18 +02:00
parent 1fe932a7bc
commit f627199def
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ class PaymentTxOgone(osv.Model):
'state': 'cancel',
'acquirer_reference': data.get('PAYID'),
})
elif status in self._ogone_pending_tx_status:
elif status in self._ogone_pending_tx_status or status in self._ogone_wait_tx_status:
tx.write({
'state': 'pending',
'acquirer_reference': data.get('PAYID'),