[FIX] website_sale: auto-confirm free orders upon cart validation
authorOlivier Dony <odo@openerp.com>
Fri, 26 Sep 2014 11:03:43 +0000 (13:03 +0200)
committerOlivier Dony <odo@openerp.com>
Fri, 26 Sep 2014 12:36:59 +0000 (14:36 +0200)
commitb2b3d629f930d7036c01295e652509667e228655
tree9dd55e60e05b52c3e670618f0a9f2a49ba3ddb35
parentdb8035658d580c394b9519270fa1310f00d42ff3
[FIX] website_sale: auto-confirm free orders upon cart validation

Orders are normally confirmed when the payment transaction
is processed, but there is no transaction for free orders.
This caused them to stay in draft until manually cancelled.
addons/website_sale/controllers/main.py