mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
base init v17, 很多只改了版号,没验证
This commit is contained in:
10
app_chatgpt/controllers/main.py
Normal file
10
app_chatgpt/controllers/main.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
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')
|
||||
Reference in New Issue
Block a user