mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
12 lines
373 B
Python
12 lines
373 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright (c) 2020-Present InTechual Solutions. (<https://intechualsolutions.com/>)
|
|
|
|
from odoo import http
|
|
|
|
|
|
class ChatgptController(http.Controller):
|
|
@http.route(['/chatgpt_form'], type='http', auth="public", csrf=False,
|
|
website=True)
|
|
def question_submit(self):
|
|
return http.request.render('app_chatgpt.connector')
|