添加功能
This commit is contained in:
@@ -29,8 +29,7 @@ from odoo.tools import html_escape
|
||||
class XLSXReportController(http.Controller):
|
||||
"""This is used to call the xlsx report function"""
|
||||
|
||||
@http.route('/xlsx_reports', type='http', auth='user',
|
||||
methods=['POST'], csrf=False)
|
||||
@http.route('/xlsx_reports', type='http', auth='user', methods=['POST'], csrf=False)
|
||||
def get_report_xlsx(self, model, options, output_format, report_name, **kw):
|
||||
"""this is used to call the function"""
|
||||
uid = request.session.uid
|
||||
|
||||
Reference in New Issue
Block a user