[FIX] website_sale: don't cache partner and check that order not confirmed
[FIX] website_sale: don't cache partner and check that order not confirmed

Cache for browse record are not optimal, should be id.
Don't need to cache the partner according to chs, browse will cached itself.

Be sure to restore previous sale order only if the sale order are always
in draft mode, else checkout will force redirect to /shop anyway.

dfang/odoo,ygol/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,sysadminmatmoz/OCB,syci/OCB,laslabs/odoo,microcom/odoo,syci/OCB,Elico-Corp/odoo_OCB,syci/OCB,stephen144/odoo,dfang/odoo,ygol/odoo,Elico-Corp/odoo_OCB,microcom/odoo,sysadminmatmoz/OCB,hip-odoo/odoo,ygol/odoo,hip-odoo/odoo,stephen144/odoo,laslabs/odoo,tvtsoft/odoo8,optima-ict/odoo,mkieszek/odoo,bplancher/odoo,syci/OCB,syci/OCB,ygol/odoo,hip-odoo/odoo,sysadminmatmoz/OCB,stephen144/odoo,dfang/odoo,dfang/odoo,stephen144/odoo,stephen144/odoo,storm-computers/odoo,sysadminmatmoz/OCB,optima-ict/odoo,bplancher/odoo,tvtsoft/odoo8,laslabs/odoo,microcom/odoo,sysadminmatmoz/OCB,bplancher/odoo,mkieszek/odoo,Elico-Corp/odoo_OCB,tvtsoft/odoo8,tvtsoft/odoo8,optima-ict/odoo,mkieszek/odoo,storm-computers/odoo,dfang/odoo,laslabs/odoo,dfang/odoo,laslabs/odoo,microcom/odoo,ygol/odoo,optima-ict/odoo,tvtsoft/odoo8,mkieszek/odoo,laslabs/odoo,Elico-Corp/odoo_OCB,tvtsoft/odoo8,hip-odoo/odoo,ygol/odoo,mkieszek/odoo,sysadminmatmoz/OCB,ygol/odoo,hip-odoo/odoo,storm-computers/odoo,storm-computers/odoo,bplancher/odoo,microcom/odoo,stephen144/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,mkieszek/odoo,hip-odoo/odoo,syci/OCB,sysadminmatmoz/OCB,optima-ict/odoo,optima-ict/odoo,storm-computers/odoo,microcom/odoo,bplancher/odoo