Skip to content

Instantly share code, notes, and snippets.

@akhmadkresna
Last active June 30, 2018 14:05
Show Gist options
  • Save akhmadkresna/0864a757600e2ffe69019d7f9fb10b87 to your computer and use it in GitHub Desktop.
Save akhmadkresna/0864a757600e2ffe69019d7f9fb10b87 to your computer and use it in GitHub Desktop.
odoo sale checkout controller
from odoo import http, tools, _
class WebsiteSale(http.Controller):
@http.route(['/shop/checkout'], type='http', auth="public", website=True)
def checkout(self, **post):
# we have base code in here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment