[IMP] payment, website_sale: better control of sale order confirmation in ecommerce.
authorThibault Delavallée <tde@openerp.com>
Thu, 9 Oct 2014 09:13:30 +0000 (11:13 +0200)
committerThibault Delavallée <tde@openerp.com>
Thu, 9 Oct 2014 10:50:13 +0000 (12:50 +0200)
commite9fdc32fba36229d8a85b60abbe72c8dea7730d7
tree5c65533d6e0137288496571da93da9b82cea8c00
parentca862e7b852996cb44c444b5725beca8a5d8ae65
[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.
addons/payment/models/payment_acquirer.py
addons/payment_transfer/models/payment_acquirer.py
addons/website_sale/controllers/main.py
addons/website_sale/models/payment.py