diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-10-09 11:13:30 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-10-09 12:50:13 +0200 |
| commit | e9fdc32fba36229d8a85b60abbe72c8dea7730d7 (patch) | |
| tree | 5c65533d6e0137288496571da93da9b82cea8c00 /addons/payment_transfer | |
| parent | ca862e7b852996cb44c444b5725beca8a5d8ae65 (diff) | |
[IMP] payment, website_sale: better control of sale order confirmation in ecommerce.
Auto confirmation is now controlled by a field on the acquirer
that proposes to confirm
- at payment (Pay Now button on ecommerce)
- at payment confirmation (transaction feedback)
- never
Also fixed the state of tx for transfer transactions that was modified
for debugging in a previous task but not reverted.
Diffstat (limited to 'addons/payment_transfer')
| -rw-r--r-- | addons/payment_transfer/models/payment_acquirer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_transfer/models/payment_acquirer.py b/addons/payment_transfer/models/payment_acquirer.py index 8b8dc7a9649..63883b3df30 100644 --- a/addons/payment_transfer/models/payment_acquirer.py +++ b/addons/payment_transfer/models/payment_acquirer.py @@ -83,4 +83,4 @@ class TransferPaymentTransaction(osv.Model): def _transfer_form_validate(self, cr, uid, tx, data, context=None): _logger.info('Validated transfer payment for tx %s: set as pending' % (tx.reference)) - return tx.write({'state': 'done'}) + return tx.write({'state': 'pending'}) |
